#EC7BEF#EC7BEF
#EC7BEF is a light, vivid purple. Relative luminance 0.382; OKLCH L 75.0% C 0.197 H 326.4°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #EC7BEF |
|---|---|
| RGB | rgb(236, 123, 239) |
| HSL | hsl(298, 78%, 71%) |
| HSV | hsv(298, 49%, 94%) |
| CMYK | cmyk(1.3%, 48.5%, 0%, 6.3%) |
| CIE-LAB | lab(68.19, 59.37, -39.72) |
| CIE-LCH | lch(68.19, 71.43, 326.22°) |
| OKLab | oklab(75.04% 0.1639 -0.1091) |
| OKLCH | oklch(75.04% 0.197 326.4) |
| XYZ | xyz(57.2539, 38.2338, 86.0087) |
| Luminance | 0.3823 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.59
Purply Pink
#F075E6
ΔE00 2.00
Candy Pink
#FF63E9
ΔE00 4.48
Light Magenta
#FA5FF7
ΔE00 4.54
Violet Pink
#FB5FFC
ΔE00 4.70
Orchid
#DA70D6
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC7BEF #7EEF7B
analogous
#B27BEF #EC7BEF #EF7BB8
triadic
#EC7BEF #EFEC7B #7BEFEC
tetradic
#EC7BEF #EFB27B #7EEF7B #7BB8EF
square
#EC7BEF #EFB27B #7EEF7B #7BB8EF
split-complementary
#EC7BEF #B8EF7B #7BEFB2
monochromatic
#D11AD6 #E444E8 #EC7BEF #F4B2F6 #FBE4FC
Accessibility & contrast
On white
2.43
#EC7BEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.65
#EC7BEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC7BEF
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC7BEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC7BEF | 1.00 | 2.43 | 8.65 | 8.65 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#91ABEC
Tritanopia (blue-blind)
#F188AA
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #ec7bef; /* rgb */ color: rgb(236, 123, 239); /* oklch */ color: oklch(75.0% 0.197 326.4);
Tailwind
colors: {
custom: {
50: '#f4a5f4',
500: '#ec7bef',
950: '#000000',
},
}SCSS
$custom: #ec7bef; $custom-light: #f4a5f4; $custom-dark: #000000;
JSON
{
"hex": "#ec7bef",
"rgb": {
"r": 236,
"g": 123,
"b": 239
},
"hsl": {
"h": 298.448,
"s": 78.378,
"l": 70.98
},
"oklch": {
"l": 0.75037,
"c": 0.19693,
"h": 326.4
},
"luminance": 0.38231
}Semantic roles & 50–950 ramp
primary
#EC7BEF
secondary
#D4F2D3
accent
#DB0B10
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85