#D479FB#D479FB
#D479FB is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.6% C 0.200 H 314.8°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #D479FB |
|---|---|
| RGB | rgb(212, 121, 251) |
| HSL | hsl(282, 94%, 73%) |
| HSV | hsv(282, 52%, 98%) |
| CMYK | cmyk(15.5%, 51.8%, 0%, 1.6%) |
| CIE-LAB | lab(65.47, 56.21, -50.80) |
| CIE-LCH | lch(65.47, 75.77, 317.89°) |
| OKLab | oklab(72.58% 0.1407 -0.1416) |
| OKLCH | oklch(72.58% 0.2 314.8) |
| XYZ | xyz(51.3986, 34.6383, 95.2264) |
| Luminance | 0.3464 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.72
Easter Purple
#C071FE
ΔE00 4.36
Liliac
#C48EFD
ΔE00 5.67
Bright Lavender
#C760FF
ΔE00 5.96
Bright Lilac
#C95EFB
ΔE00 6.03
Light Urple
#B36FF6
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D479FB #A0FB79
analogous
#9379FB #D479FB #FB79E1
triadic
#D479FB #FBD479 #79FBD4
tetradic
#D479FB #FB9379 #A0FB79 #79E1FB
square
#D479FB #FB9379 #A0FB79 #79E1FB
split-complementary
#D479FB #E1FB79 #79FB93
monochromatic
#AC07F2 #C13EF9 #D479FB #E7B4FD #F5E1FE
Accessibility & contrast
On white
2.65
#D479FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#D479FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D479FB
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D479FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D479FB | 1.00 | 2.65 | 7.93 | 7.93 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#78A1F8
Tritanopia (blue-blind)
#D18EAF
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #d479fb; /* rgb */ color: rgb(212, 121, 251); /* oklch */ color: oklch(72.6% 0.200 314.8);
Tailwind
colors: {
custom: {
50: '#e4a3fd',
500: '#d479fb',
950: '#000000',
},
}SCSS
$custom: #d479fb; $custom-light: #e4a3fd; $custom-dark: #000000;
JSON
{
"hex": "#d479fb",
"rgb": {
"r": 212,
"g": 121,
"b": 251
},
"hsl": {
"h": 282,
"s": 94.203,
"l": 72.941
},
"oklch": {
"l": 0.72582,
"c": 0.19964,
"h": 314.8
},
"luminance": 0.34637
}Semantic roles & 50–950 ramp
primary
#D479FB
secondary
#DFF6D5
accent
#E60045
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86