#D479F2#D479F2
#D479F2 is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.1% C 0.190 H 317.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #D479F2 |
|---|---|
| RGB | rgb(212, 121, 242) |
| HSL | hsl(285, 82%, 71%) |
| HSV | hsv(285, 50%, 95%) |
| CMYK | cmyk(12.4%, 50%, 0%, 5.1%) |
| CIE-LAB | lab(65.03, 54.40, -46.54) |
| CIE-LCH | lch(65.03, 71.59, 319.45°) |
| OKLab | oklab(72.12% 0.1398 -0.1293) |
| OKLCH | oklch(72.12% 0.19 317.2) |
| XYZ | xyz(50.0135, 34.0843, 87.9316) |
| Luminance | 0.3408 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.28
Easter Purple
#C071FE
ΔE00 5.18
Orchid
#DA70D6
ΔE00 5.43
Violet (CSS)
#EE82EE
ΔE00 5.72
Purply Pink
#F075E6
ΔE00 6.01
Liliac
#C48EFD
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D479F2 #97F279
analogous
#9779F2 #D479F2 #F279D3
triadic
#D479F2 #F2D479 #79F2D4
tetradic
#D479F2 #F29779 #97F279 #79D3F2
square
#D479F2 #F29779 #97F279 #79D3F2
split-complementary
#D479F2 #D3F279 #79F297
monochromatic
#AA15DB #C241ED #D479F2 #E6B1F7 #F6E3FC
Accessibility & contrast
On white
2.69
#D479F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#D479F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D479F2
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D479F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D479F2 | 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)
#6198F6
Deuteranopia (green-blind)
#7DA1EF
Tritanopia (blue-blind)
#D38BAB
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #d479f2; /* rgb */ color: rgb(212, 121, 242); /* oklch */ color: oklch(72.1% 0.190 317.2);
Tailwind
colors: {
custom: {
50: '#e3a3f7',
500: '#d479f2',
950: '#000000',
},
}SCSS
$custom: #d479f2; $custom-light: #e3a3f7; $custom-dark: #000000;
JSON
{
"hex": "#d479f2",
"rgb": {
"r": 212,
"g": 121,
"b": 242
},
"hsl": {
"h": 285.124,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.72117,
"c": 0.19038,
"h": 317.2
},
"luminance": 0.34083
}Semantic roles & 50–950 ramp
primary
#D479F2
secondary
#DBF3D3
accent
#DF073C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85