#EC6CFD#EC6CFD
#EC6CFD is a light, highly saturated purple. Relative luminance 0.356; OKLCH L 73.8% C 0.232 H 322.8°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #EC6CFD |
|---|---|
| RGB | rgb(236, 108, 253) |
| HSL | hsl(293, 97%, 71%) |
| HSV | hsv(293, 57%, 99%) |
| CMYK | cmyk(6.7%, 57.3%, 0%, 0.8%) |
| CIE-LAB | lab(66.25, 68.78, -50.46) |
| CIE-LCH | lch(66.25, 85.31, 323.73°) |
| OKLab | oklab(73.82% 0.1846 -0.14) |
| OKLCH | oklch(73.82% 0.232 322.8) |
| XYZ | xyz(57.6825, 35.6528, 96.7528) |
| Luminance | 0.3565 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 2.57
Light Magenta
#FA5FF7
ΔE00 2.82
Purply Pink
#F075E6
ΔE00 4.62
Candy Pink
#FF63E9
ΔE00 5.00
Violet (CSS)
#EE82EE
ΔE00 5.23
Orchid
#DA70D6
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC6CFD #7DFD6C
analogous
#A46CFD #EC6CFD #FD6CC5
triadic
#EC6CFD #FDEC6C #6CFDEC
tetradic
#EC6CFD #FDA46C #7DFD6C #6CC5FD
square
#EC6CFD #FDA46C #7DFD6C #6CC5FD
split-complementary
#EC6CFD #C5FD6C #6CFDA4
monochromatic
#D003EB #E430FC #EC6CFD #F4A8FE #FBE1FF
Accessibility & contrast
On white
2.58
#EC6CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.13
#EC6CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC6CFD
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC6CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC6CFD | 1.00 | 2.58 | 8.13 | 8.13 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#7FA6F9
Tritanopia (blue-blind)
#EF81AB
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #ec6cfd; /* rgb */ color: rgb(236, 108, 253); /* oklch */ color: oklch(73.8% 0.232 322.8);
Tailwind
colors: {
custom: {
50: '#f59cfe',
500: '#ec6cfd',
950: '#000000',
},
}SCSS
$custom: #ec6cfd; $custom-light: #f59cfe; $custom-dark: #000000;
JSON
{
"hex": "#ec6cfd",
"rgb": {
"r": 236,
"g": 108,
"b": 253
},
"hsl": {
"h": 292.966,
"s": 97.315,
"l": 70.784
},
"oklch": {
"l": 0.73823,
"c": 0.23172,
"h": 322.8
},
"luminance": 0.3565
}Semantic roles & 50–950 ramp
primary
#EC6CFD
secondary
#D3F6CF
accent
#E6001B
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#170F18
muted
#857F86