#EC5FF2#EC5FF2
#EC5FF2 is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.8% C 0.240 H 326.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #EC5FF2 |
|---|---|
| RGB | rgb(236, 95, 242) |
| HSL | hsl(298, 85%, 66%) |
| HSV | hsv(298, 61%, 95%) |
| CMYK | cmyk(2.5%, 60.7%, 0%, 5.1%) |
| CIE-LAB | lab(63.70, 72.40, -48.44) |
| CIE-LCH | lch(63.70, 87.11, 326.22°) |
| OKLab | oklab(71.79% 0.1992 -0.134) |
| OKLCH | oklch(71.79% 0.24 326.1) |
| XYZ | xyz(54.7102, 32.4314, 87.3654) |
| Luminance | 0.3243 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.24
Violet Pink
#FB5FFC
ΔE00 2.46
Candy Pink
#FF63E9
ΔE00 4.30
Purply Pink
#F075E6
ΔE00 4.88
Heliotrope
#D94FF5
ΔE00 5.03
Orchid
#DA70D6
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC5FF2 #65F25F
analogous
#A25FF2 #EC5FF2 #F25FAE
triadic
#EC5FF2 #F2EC5F #5FF2EC
tetradic
#EC5FF2 #F2A25F #65F25F #5FAEF2
square
#EC5FF2 #F2A25F #65F25F #5FAEF2
split-complementary
#EC5FF2 #AEF25F #5FF2A2
monochromatic
#BF10C6 #E526ED #EC5FF2 #F398F7 #F9D0FB
Accessibility & contrast
On white
2.81
#EC5FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.49
#EC5FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC5FF2
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC5FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC5FF2 | 1.00 | 2.81 | 7.49 | 7.49 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#498FF6
Deuteranopia (green-blind)
#7DA1EE
Tritanopia (blue-blind)
#F273A0
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #ec5ff2; /* rgb */ color: rgb(236, 95, 242); /* oklch */ color: oklch(71.8% 0.240 326.1);
Tailwind
colors: {
custom: {
50: '#f595f7',
500: '#ec5ff2',
950: '#000000',
},
}SCSS
$custom: #ec5ff2; $custom-light: #f595f7; $custom-dark: #000000;
JSON
{
"hex": "#ec5ff2",
"rgb": {
"r": 236,
"g": 95,
"b": 242
},
"hsl": {
"h": 297.551,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.71787,
"c": 0.24012,
"h": 326.1
},
"luminance": 0.32428
}Semantic roles & 50–950 ramp
primary
#EC5FF2
secondary
#C0EFBE
accent
#E1040D
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85