#D27CFE#D27CFE
#D27CFE is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.9% C 0.197 H 313.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #D27CFE |
|---|---|
| RGB | rgb(210, 124, 254) |
| HSL | hsl(280, 98%, 74%) |
| HSV | hsv(280, 51%, 100%) |
| CMYK | cmyk(17.3%, 51.2%, 0%, 0.4%) |
| CIE-LAB | lab(65.96, 54.80, -51.68) |
| CIE-LCH | lch(65.96, 75.32, 316.68°) |
| OKLab | oklab(72.95% 0.1347 -0.1443) |
| OKLCH | oklch(72.95% 0.197 313) |
| XYZ | xyz(51.6723, 35.2740, 97.8333) |
| Luminance | 0.3527 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.52
Easter Purple
#C071FE
ΔE00 4.24
Liliac
#C48EFD
ΔE00 4.90
Bright Lavender
#C760FF
ΔE00 6.26
Light Urple
#B36FF6
ΔE00 6.37
Bright Lilac
#C95EFB
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D27CFE #A8FE7C
analogous
#917CFE #D27CFE #FE7CE9
triadic
#D27CFE #FED27C #7CFED2
tetradic
#D27CFE #FE917C #A8FE7C #7CE9FE
square
#D27CFE #FE917C #A8FE7C #7CE9FE
split-complementary
#D27CFE #E9FE7C #7CFE91
monochromatic
#A803FD #BD3FFE #D27CFE #E7B9FE #F5E1FF
Accessibility & contrast
On white
2.61
#D27CFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.05
#D27CFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D27CFE
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D27CFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D27CFE | 1.00 | 2.61 | 8.05 | 8.05 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#77A2FB
Tritanopia (blue-blind)
#CE91B2
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #d27cfe; /* rgb */ color: rgb(210, 124, 254); /* oklch */ color: oklch(72.9% 0.197 313.0);
Tailwind
colors: {
custom: {
50: '#e2a5ff',
500: '#d27cfe',
950: '#000000',
},
}SCSS
$custom: #d27cfe; $custom-light: #e2a5ff; $custom-dark: #000000;
JSON
{
"hex": "#d27cfe",
"rgb": {
"r": 210,
"g": 124,
"b": 254
},
"hsl": {
"h": 279.692,
"s": 98.485,
"l": 74.118
},
"oklch": {
"l": 0.72945,
"c": 0.19736,
"h": 313
},
"luminance": 0.35273
}Semantic roles & 50–950 ramp
primary
#D27CFE
secondary
#E0F7D4
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86