#D27EF2#D27EF2
#D27EF2 is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.6% C 0.182 H 316.0°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #D27EF2 |
|---|---|
| RGB | rgb(210, 126, 242) |
| HSL | hsl(283, 82%, 72%) |
| HSV | hsv(283, 48%, 95%) |
| CMYK | cmyk(13.2%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(65.78, 51.31, -45.38) |
| CIE-LCH | lch(65.78, 68.50, 318.51°) |
| OKLab | oklab(72.62% 0.1307 -0.126) |
| OKLCH | oklch(72.62% 0.182 316) |
| XYZ | xyz(50.0638, 35.0356, 88.1125) |
| Luminance | 0.3503 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.33
Liliac
#C48EFD
ΔE00 5.23
Easter Purple
#C071FE
ΔE00 5.48
Violet (CSS)
#EE82EE
ΔE00 5.66
Orchid
#DA70D6
ΔE00 5.94
Purply Pink
#F075E6
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D27EF2 #9EF27E
analogous
#987EF2 #D27EF2 #F27ED8
triadic
#D27EF2 #F2D27E #7EF2D2
tetradic
#D27EF2 #F2987E #9EF27E #7ED8F2
square
#D27EF2 #F2987E #9EF27E #7ED8F2
split-complementary
#D27EF2 #D8F27E #7EF298
monochromatic
#A816DF #BF46EC #D27EF2 #E5B6F8 #F5E3FC
Accessibility & contrast
On white
2.62
#D27EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#D27EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D27EF2
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D27EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D27EF2 | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#D18FAD
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #d27ef2; /* rgb */ color: rgb(210, 126, 242); /* oklch */ color: oklch(72.6% 0.182 316.0);
Tailwind
colors: {
custom: {
50: '#e2a6f7',
500: '#d27ef2',
950: '#000000',
},
}SCSS
$custom: #d27ef2; $custom-light: #e2a6f7; $custom-dark: #000000;
JSON
{
"hex": "#d27ef2",
"rgb": {
"r": 210,
"g": 126,
"b": 242
},
"hsl": {
"h": 283.448,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.7262,
"c": 0.18154,
"h": 316
},
"luminance": 0.35034
}Semantic roles & 50–950 ramp
primary
#D27EF2
secondary
#DFF4D7
accent
#DE0743
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#160F17
muted
#847F85