#D27FF2#D27FF2
#D27FF2 is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.8% C 0.180 H 316.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #D27FF2 |
|---|---|
| RGB | rgb(210, 127, 242) |
| HSL | hsl(283, 82%, 72%) |
| HSV | hsv(283, 48%, 95%) |
| CMYK | cmyk(13.2%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(65.98, 50.80, -45.07) |
| CIE-LCH | lch(65.98, 67.91, 318.42°) |
| OKLab | oklab(72.77% 0.1293 -0.1251) |
| OKLCH | oklch(72.77% 0.18 316) |
| XYZ | xyz(50.1923, 35.2927, 88.1553) |
| Luminance | 0.3529 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.44
Liliac
#C48EFD
ΔE00 5.09
Violet (CSS)
#EE82EE
ΔE00 5.60
Easter Purple
#C071FE
ΔE00 5.63
Orchid
#DA70D6
ΔE00 6.03
Purply Pink
#F075E6
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D27FF2 #9FF27F
analogous
#987FF2 #D27FF2 #F27FD9
triadic
#D27FF2 #F2D27F #7FF2D2
tetradic
#D27FF2 #F2987F #9FF27F #7FD9F2
square
#D27FF2 #F2987F #9FF27F #7FD9F2
split-complementary
#D27FF2 #D9F27F #7FF298
monochromatic
#A817E0 #BE47EC #D27FF2 #E6B7F8 #F5E3FC
Accessibility & contrast
On white
2.61
#D27FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#D27FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D27FF2
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D27FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D27FF2 | 1.00 | 2.61 | 8.06 | 8.06 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#80A3EF
Tritanopia (blue-blind)
#D090AD
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #d27ff2; /* rgb */ color: rgb(210, 127, 242); /* oklch */ color: oklch(72.8% 0.180 316.0);
Tailwind
colors: {
custom: {
50: '#e2a6f7',
500: '#d27ff2',
950: '#000000',
},
}SCSS
$custom: #d27ff2; $custom-light: #e2a6f7; $custom-dark: #000000;
JSON
{
"hex": "#d27ff2",
"rgb": {
"r": 210,
"g": 127,
"b": 242
},
"hsl": {
"h": 283.304,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.72768,
"c": 0.17994,
"h": 316
},
"luminance": 0.35291
}Semantic roles & 50–950 ramp
primary
#D27FF2
secondary
#DFF4D7
accent
#DE0843
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85