#DC79F2#DC79F2
#DC79F2 is a light, vivid purple. Relative luminance 0.353; OKLCH L 73.0% C 0.194 H 320.1°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #DC79F2 |
|---|---|
| RGB | rgb(220, 121, 242) |
| HSL | hsl(289, 82%, 71%) |
| HSV | hsv(289, 50%, 95%) |
| CMYK | cmyk(9.1%, 50%, 0%, 5.1%) |
| CIE-LAB | lab(65.98, 56.55, -44.97) |
| CIE-LCH | lch(65.98, 72.25, 321.50°) |
| OKLab | oklab(73.03% 0.149 -0.1246) |
| OKLCH | oklch(73.03% 0.194 320.1) |
| XYZ | xyz(52.3776, 35.3033, 88.0424) |
| Luminance | 0.3530 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.38
Purply Pink
#F075E6
ΔE00 4.65
Orchid
#DA70D6
ΔE00 4.84
Light Magenta
#FA5FF7
ΔE00 5.42
Violet Pink
#FB5FFC
ΔE00 5.42
Light Purple
#BF77F6
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC79F2 #8FF279
analogous
#9F79F2 #DC79F2 #F279CB
triadic
#DC79F2 #F2DC79 #79F2DC
tetradic
#DC79F2 #F29F79 #8FF279 #79CBF2
square
#DC79F2 #F29F79 #8FF279 #79CBF2
split-complementary
#DC79F2 #CBF279 #79F29F
monochromatic
#B715DB #CD41ED #DC79F2 #EBB1F7 #F8E3FC
Accessibility & contrast
On white
2.61
#DC79F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#DC79F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC79F2
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC79F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC79F2 | 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)
#6499F6
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#DD8AAB
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #dc79f2; /* rgb */ color: rgb(220, 121, 242); /* oklch */ color: oklch(73.0% 0.194 320.1);
Tailwind
colors: {
custom: {
50: '#e9a3f7',
500: '#dc79f2',
950: '#000000',
},
}SCSS
$custom: #dc79f2; $custom-light: #e9a3f7; $custom-dark: #000000;
JSON
{
"hex": "#dc79f2",
"rgb": {
"r": 220,
"g": 121,
"b": 242
},
"hsl": {
"h": 289.091,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.73029,
"c": 0.19421,
"h": 320.1
},
"luminance": 0.35301
}Semantic roles & 50–950 ramp
primary
#DC79F2
secondary
#D9F3D3
accent
#DF072E
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85