#D784F2#D784F2
#D784F2 is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.1% C 0.174 H 317.4°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #D784F2 |
|---|---|
| RGB | rgb(215, 132, 242) |
| HSL | hsl(285, 81%, 73%) |
| HSV | hsv(285, 45%, 95%) |
| CMYK | cmyk(11.2%, 45.5%, 0%, 5.1%) |
| CIE-LAB | lab(67.55, 49.60, -42.56) |
| CIE-LCH | lch(67.55, 65.36, 319.37°) |
| OKLab | oklab(74.06% 0.1283 -0.1178) |
| OKLCH | oklch(74.06% 0.174 317.4) |
| XYZ | xyz(52.3003, 37.3620, 88.4438) |
| Luminance | 0.3736 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.49
Liliac
#C48EFD
ΔE00 5.24
Lavender Pink
#DD85D7
ΔE00 5.80
Purply Pink
#F075E6
ΔE00 5.84
Light Purple
#BF77F6
ΔE00 5.88
Orchid
#DA70D6
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D784F2 #9FF284
analogous
#A084F2 #D784F2 #F284D6
triadic
#D784F2 #F2D784 #84F2D7
tetradic
#D784F2 #F2A084 #9FF284 #84D6F2
square
#D784F2 #F2A084 #9FF284 #84D6F2
split-complementary
#D784F2 #D6F284 #84F2A0
monochromatic
#B218E4 #C54DEC #D784F2 #E9BBF8 #F6E3FC
Accessibility & contrast
On white
2.48
#D784F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#D784F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D784F2
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D784F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D784F2 | 1.00 | 2.48 | 8.47 | 8.47 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#88A7EF
Tritanopia (blue-blind)
#D793B0
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #d784f2; /* rgb */ color: rgb(215, 132, 242); /* oklch */ color: oklch(74.1% 0.174 317.4);
Tailwind
colors: {
custom: {
50: '#e5aaf7',
500: '#d784f2',
950: '#000000',
},
}SCSS
$custom: #d784f2; $custom-light: #e5aaf7; $custom-dark: #000000;
JSON
{
"hex": "#d784f2",
"rgb": {
"r": 215,
"g": 132,
"b": 242
},
"hsl": {
"h": 285.273,
"s": 80.882,
"l": 73.333
},
"oklch": {
"l": 0.74063,
"c": 0.17416,
"h": 317.4
},
"luminance": 0.3736
}Semantic roles & 50–950 ramp
primary
#D784F2
secondary
#DEF4D7
accent
#DD083D
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85