Teal & Violet, Green Color Palette
:root {
--color-1: #6238F5;
--color-2: #0AD3F5;
--color-3: #87F5C6;
--color-4: #F5F50A;
}
colors: {
'palette-1': '#6238F5',
'palette-2': '#0AD3F5',
'palette-3': '#87F5C6',
'palette-4': '#F5F50A',
}
const palette = [
'#6238F5',
'#0AD3F5',
'#87F5C6',
'#F5F50A',
];
$color-1: #6238F5;
$color-2: #0AD3F5;
$color-3: #87F5C6;
$color-4: #F5F50A;
This is a cool, vibrant 4-colour palette pairing strongly contrasting colours for real visual punch.
About this color palette
This is a cool, vibrant 4-colour palette pairing strongly contrasting colours for real visual punch. It is anchored by Teal (#0AD3F5) and reads as well balanced in lightness, with an average saturation of 90% and lightness of 58%. It works well for calm, professional and modern interfaces.
The colors in this palette
Violet #6238F5
rgb(98, 56, 245) · hsl(253, 90%, 59%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
Teal #0AD3F5
rgb(10, 211, 245) · hsl(189, 92%, 50%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
Green #87F5C6
rgb(135, 245, 198) · hsl(154, 85%, 75%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
Yellow #F5F50A
rgb(245, 245, 10) · hsl(60, 92%, 50%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
Accessibility & contrast
Colour contrast decides whether text stays readable. Here is how each pair of colours in this palette performs when one is used as text on the other, measured against the WCAG standard (AA needs 4.5:1, AAA needs 7:1).
| Text | Background | Ratio | AA | AAA |
|---|---|---|---|---|
| #6238F5 | #F5F50A | 5.27:1 | Pass | Fail |
| #6238F5 | #87F5C6 | 4.67:1 | Pass | Fail |
| #6238F5 | #0AD3F5 | 3.42:1 | Fail | Fail |
| #0AD3F5 | #F5F50A | 1.54:1 | Fail | Fail |
| #0AD3F5 | #87F5C6 | 1.37:1 | Fail | Fail |
| #87F5C6 | #F5F50A | 1.13:1 | Fail | Fail |
How to use these colors
- Background — Green (#87F5C6): the lightest tone — a clean base for large areas
- Text — Teal (#0AD3F5): the darkest tone — readable for body copy and headings
- Primary — Teal (#0AD3F5): the most saturated tone — buttons, links and key UI
- Accent — Yellow (#F5F50A): a secondary highlight for badges and details
Colors that pair with this palette
Want to extend this palette? These colours pair naturally with its dominant Teal tone, based on colour-wheel harmony. Tap a swatch to explore that colour family.
Frequently asked questions
What colours are in this palette?
This palette has 4 colours: Violet (#6238F5), Teal (#0AD3F5), Green (#87F5C6) and Yellow (#F5F50A).
Is this a warm or cool colour palette?
It is a cool palette — its tones lean toward blues, greens and purples, which feel calm and modern.
What are the hex codes for this palette?
The hex codes are #6238F5, #0AD3F5, #87F5C6 and #F5F50A. You can copy them as CSS variables, Tailwind, SCSS or JSON from the code panel above.
Is this palette accessible for text?
Yes — Violet text on Yellow reaches a contrast ratio of 5.27:1, which meets the WCAG AA standard for readable text.