#D47FEF#D47FEF
#D47FEF is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.8% C 0.178 H 317.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #D47FEF |
|---|---|
| RGB | rgb(212, 127, 239) |
| HSL | hsl(286, 78%, 72%) |
| HSV | hsv(286, 47%, 94%) |
| CMYK | cmyk(11.3%, 46.9%, 0%, 6.3%) |
| CIE-LAB | lab(66.07, 50.75, -43.26) |
| CIE-LCH | lch(66.07, 66.68, 319.56°) |
| OKLab | oklab(72.84% 0.1313 -0.1198) |
| OKLCH | oklch(72.84% 0.178 317.6) |
| XYZ | xyz(50.3185, 35.4094, 85.8287) |
| Luminance | 0.3541 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.98
Light Purple
#BF77F6
ΔE00 5.07
Orchid
#DA70D6
ΔE00 5.43
Liliac
#C48EFD
ΔE00 5.62
Purply Pink
#F075E6
ΔE00 5.76
Lavender Pink
#DD85D7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D47FEF #9AEF7F
analogous
#9C7FEF #D47FEF #EF7FD2
triadic
#D47FEF #EFD47F #7FEFD4
tetradic
#D47FEF #EF9C7F #9AEF7F #7FD2EF
square
#D47FEF #EF9C7F #9AEF7F #7FD2EF
split-complementary
#D47FEF #D2EF7F #7FEF9C
monochromatic
#AB1BD9 #C249E8 #D47FEF #E6B5F6 #F6E4FC
Accessibility & contrast
On white
2.60
#D47FEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#D47FEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D47FEF
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D47FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D47FEF | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9BF3
Deuteranopia (green-blind)
#83A3EC
Tritanopia (blue-blind)
#D48FAC
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d47fef; /* rgb */ color: rgb(212, 127, 239); /* oklch */ color: oklch(72.8% 0.178 317.6);
Tailwind
colors: {
custom: {
50: '#e3a6f4',
500: '#d47fef',
950: '#000000',
},
}SCSS
$custom: #d47fef; $custom-light: #e3a6f4; $custom-dark: #000000;
JSON
{
"hex": "#d47fef",
"rgb": {
"r": 212,
"g": 127,
"b": 239
},
"hsl": {
"h": 285.536,
"s": 77.778,
"l": 71.765
},
"oklch": {
"l": 0.7284,
"c": 0.17772,
"h": 317.6
},
"luminance": 0.35408
}Semantic roles & 50–950 ramp
primary
#D47FEF
secondary
#DEF3D7
accent
#DA0B3D
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85