#EC6FF2#EC6FF2
#EC6FF2 is a light, highly saturated purple. Relative luminance 0.356; OKLCH L 73.6% C 0.218 H 325.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #EC6FF2 |
|---|---|
| RGB | rgb(236, 111, 242) |
| HSL | hsl(297, 83%, 69%) |
| HSV | hsv(297, 54%, 95%) |
| CMYK | cmyk(2.5%, 54.1%, 0%, 5.1%) |
| CIE-LAB | lab(66.23, 65.50, -44.46) |
| CIE-LCH | lch(66.23, 79.16, 325.84°) |
| OKLab | oklab(73.63% 0.18 -0.1226) |
| OKLCH | oklch(73.63% 0.218 325.7) |
| XYZ | xyz(56.3023, 35.6157, 87.8961) |
| Luminance | 0.3561 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.64
Violet Pink
#FB5FFC
ΔE00 2.80
Purply Pink
#F075E6
ΔE00 2.86
Candy Pink
#FF63E9
ΔE00 3.78
Violet (CSS)
#EE82EE
ΔE00 3.94
Orchid
#DA70D6
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC6FF2 #75F26F
analogous
#AB6FF2 #EC6FF2 #F26FB7
triadic
#EC6FF2 #F2EC6F #6FF2EC
tetradic
#EC6FF2 #F2AB6F #75F26F #6FB7F2
square
#EC6FF2 #F2AB6F #75F26F #6FB7F2
split-complementary
#EC6FF2 #B7F26F #6FF2AB
monochromatic
#CB13D4 #E537ED #EC6FF2 #F3A7F7 #FBDFFC
Accessibility & contrast
On white
2.59
#EC6FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.12
#EC6FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC6FF2
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC6FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC6FF2 | 1.00 | 2.59 | 8.12 | 8.12 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#87A7EE
Tritanopia (blue-blind)
#F17FA6
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #ec6ff2; /* rgb */ color: rgb(236, 111, 242); /* oklch */ color: oklch(73.6% 0.218 325.7);
Tailwind
colors: {
custom: {
50: '#f59ef7',
500: '#ec6ff2',
950: '#000000',
},
}SCSS
$custom: #ec6ff2; $custom-light: #f59ef7; $custom-dark: #000000;
JSON
{
"hex": "#ec6ff2",
"rgb": {
"r": 236,
"g": 111,
"b": 242
},
"hsl": {
"h": 297.252,
"s": 83.439,
"l": 69.216
},
"oklch": {
"l": 0.73631,
"c": 0.21779,
"h": 325.7
},
"luminance": 0.35613
}Semantic roles & 50–950 ramp
primary
#EC6FF2
secondary
#CDF1CB
accent
#E00610
background
#FFFAFF
surface
#FFF3FE
border
#D7CDD6
text
#170F17
muted
#857F85