#D782FC#D782FC
#D782FC is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.3% C 0.188 H 314.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #D782FC |
|---|---|
| RGB | rgb(215, 130, 252) |
| HSL | hsl(282, 95%, 75%) |
| HSV | hsv(282, 48%, 99%) |
| CMYK | cmyk(14.7%, 48.4%, 0%, 1.2%) |
| CIE-LAB | lab(67.61, 52.65, -47.95) |
| CIE-LCH | lch(67.61, 71.21, 317.68°) |
| OKLab | oklab(74.26% 0.1324 -0.1333) |
| OKLCH | oklch(74.26% 0.188 314.8) |
| XYZ | xyz(53.5749, 37.4421, 96.4814) |
| Luminance | 0.3744 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.64
Light Purple
#BF77F6
ΔE00 5.00
Violet (CSS)
#EE82EE
ΔE00 5.61
Easter Purple
#C071FE
ΔE00 5.96
Baby Purple
#CA9BF7
ΔE00 6.68
Purply Pink
#F075E6
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D782FC #A7FC82
analogous
#9A82FC #D782FC #FC82E4
triadic
#D782FC #FCD782 #82FCD7
tetradic
#D782FC #FC9A82 #A7FC82 #82E4FC
square
#D782FC #FC9A82 #A7FC82 #82E4FC
split-complementary
#D782FC #E4FC82 #82FC9A
monochromatic
#B10AF9 #C446FB #D782FC #EABEFD #F5E1FE
Accessibility & contrast
On white
2.47
#D782FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.49
#D782FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D782FC
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D782FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D782FC | 1.00 | 2.47 | 8.49 | 8.49 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#D594B3
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #d782fc; /* rgb */ color: rgb(215, 130, 252); /* oklch */ color: oklch(74.3% 0.188 314.8);
Tailwind
colors: {
custom: {
50: '#e5a9fe',
500: '#d782fc',
950: '#000000',
},
}SCSS
$custom: #d782fc; $custom-light: #e5a9fe; $custom-dark: #000000;
JSON
{
"hex": "#d782fc",
"rgb": {
"r": 215,
"g": 130,
"b": 252
},
"hsl": {
"h": 281.803,
"s": 95.313,
"l": 74.902
},
"oklch": {
"l": 0.74257,
"c": 0.1879,
"h": 314.8
},
"luminance": 0.37441
}Semantic roles & 50–950 ramp
primary
#D782FC
secondary
#DFF7D4
accent
#E60046
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86