#D792FD#D792FD
#D792FD is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.8% C 0.163 H 312.7°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #D792FD |
|---|---|
| RGB | rgb(215, 146, 253) |
| HSL | hsl(279, 96%, 78%) |
| HSV | hsv(279, 42%, 99%) |
| CMYK | cmyk(15%, 42.3%, 0%, 0.8%) |
| CIE-LAB | lab(70.94, 44.51, -43.26) |
| CIE-LCH | lch(70.94, 62.07, 315.81°) |
| OKLab | oklab(76.76% 0.1107 -0.1199) |
| OKLCH | oklch(76.76% 0.163 312.7) |
| XYZ | xyz(56.0298, 42.0978, 98.0836) |
| Luminance | 0.4210 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 3.61
Liliac
#C48EFD
ΔE00 3.81
Lilac (survey)
#CEA2FD
ΔE00 4.63
Pastel Purple
#CAA0FF
ΔE00 4.72
Lavender (survey)
#C79FEF
ΔE00 5.36
Violet (CSS)
#EE82EE
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D792FD #B8FD92
analogous
#A192FD #D792FD #FD92ED
triadic
#D792FD #FDD792 #92FDD7
tetradic
#D792FD #FDA192 #B8FD92 #92EDFD
square
#D792FD #FDA192 #B8FD92 #92EDFD
split-complementary
#D792FD #EDFD92 #92FDA1
monochromatic
#AB1AFB #C156FC #D792FD #EDCEFE #F4E1FE
Accessibility & contrast
On white
2.23
#D792FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#D792FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D792FD
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D792FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D792FD | 1.00 | 2.23 | 9.42 | 9.42 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#8FAFFA
Tritanopia (blue-blind)
#D4A2BC
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #d792fd; /* rgb */ color: rgb(215, 146, 253); /* oklch */ color: oklch(76.8% 0.163 312.7);
Tailwind
colors: {
custom: {
50: '#e5b3fe',
500: '#d792fd',
950: '#000000',
},
}SCSS
$custom: #d792fd; $custom-light: #e5b3fe; $custom-dark: #000000;
JSON
{
"hex": "#d792fd",
"rgb": {
"r": 215,
"g": 146,
"b": 253
},
"hsl": {
"h": 278.692,
"s": 96.396,
"l": 78.235
},
"oklch": {
"l": 0.76758,
"c": 0.16318,
"h": 312.7
},
"luminance": 0.42097
}Semantic roles & 50–950 ramp
primary
#D792FD
secondary
#E1F7D4
accent
#E60052
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086