#D478F6#D478F6
#D478F6 is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.2% C 0.196 H 316.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #D478F6 |
|---|---|
| RGB | rgb(212, 120, 246) |
| HSL | hsl(284, 88%, 72%) |
| HSV | hsv(284, 51%, 96%) |
| CMYK | cmyk(13.8%, 51.2%, 0%, 3.5%) |
| CIE-LAB | lab(65.03, 55.70, -48.74) |
| CIE-LCH | lch(65.03, 74.02, 318.81°) |
| OKLab | oklab(72.18% 0.1415 -0.1357) |
| OKLCH | oklch(72.18% 0.196 316.2) |
| XYZ | xyz(50.4999, 34.0854, 91.0899) |
| Luminance | 0.3408 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.92
Easter Purple
#C071FE
ΔE00 4.67
Orchid
#DA70D6
ΔE00 6.00
Bright Lilac
#C95EFB
ΔE00 6.01
Bright Lavender
#C760FF
ΔE00 6.04
Liliac
#C48EFD
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D478F6 #9AF678
analogous
#9578F6 #D478F6 #F678D9
triadic
#D478F6 #F6D478 #78F6D4
tetradic
#D478F6 #F69578 #9AF678 #78D9F6
square
#D478F6 #F69578 #9AF678 #78D9F6
split-complementary
#D478F6 #D9F678 #78F695
monochromatic
#AB0FE4 #C23FF2 #D478F6 #E6B1FA #F6E2FD
Accessibility & contrast
On white
2.69
#D478F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#D478F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D478F6
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D478F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D478F6 | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D98FA
Deuteranopia (green-blind)
#7AA1F3
Tritanopia (blue-blind)
#D28BAC
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #d478f6; /* rgb */ color: rgb(212, 120, 246); /* oklch */ color: oklch(72.2% 0.196 316.2);
Tailwind
colors: {
custom: {
50: '#e4a2f9',
500: '#d478f6',
950: '#000000',
},
}SCSS
$custom: #d478f6; $custom-light: #e4a2f9; $custom-dark: #000000;
JSON
{
"hex": "#d478f6",
"rgb": {
"r": 212,
"g": 120,
"b": 246
},
"hsl": {
"h": 283.81,
"s": 87.5,
"l": 71.765
},
"oklch": {
"l": 0.7218,
"c": 0.19604,
"h": 316.2
},
"luminance": 0.34084
}Semantic roles & 50–950 ramp
primary
#D478F6
secondary
#DEF5D5
accent
#E4013F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85