#D562F5#D562F5
#D562F5 is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.4% C 0.228 H 318.3°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #D562F5 |
|---|---|
| RGB | rgb(213, 98, 245) |
| HSL | hsl(287, 88%, 67%) |
| HSV | hsv(287, 60%, 96%) |
| CMYK | cmyk(13.1%, 60%, 0%, 3.9%) |
| CIE-LAB | lab(61.20, 66.21, -54.26) |
| CIE-LCH | lch(61.20, 85.60, 320.67°) |
| OKLab | oklab(69.38% 0.1702 -0.1515) |
| OKLCH | oklch(69.38% 0.228 318.3) |
| XYZ | xyz(48.2874, 29.4761, 89.5144) |
| Luminance | 0.2947 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.80
Heliotrope
#D94FF5
ΔE00 2.88
Bright Lavender
#C760FF
ΔE00 3.30
Easter Purple
#C071FE
ΔE00 4.78
Light Purple
#BF77F6
ΔE00 5.26
Violet Pink
#FB5FFC
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D562F5 #82F562
analogous
#8C62F5 #D562F5 #F562CB
triadic
#D562F5 #F5D562 #62F5D5
tetradic
#D562F5 #F58C62 #82F562 #62CBF5
square
#D562F5 #F58C62 #82F562 #62CBF5
split-complementary
#D562F5 #CBF562 #62F58C
monochromatic
#A50DCF #C628F1 #D562F5 #E49CF9 #F4D5FC
Accessibility & contrast
On white
3.05
#D562F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.89
#D562F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D562F5
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D562F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D562F5 | 1.00 | 3.05 | 6.89 | 6.89 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A8CFA
Deuteranopia (green-blind)
#6998F1
Tritanopia (blue-blind)
#D57AA3
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #d562f5; /* rgb */ color: rgb(213, 98, 245); /* oklch */ color: oklch(69.4% 0.228 318.3);
Tailwind
colors: {
custom: {
50: '#e595f9',
500: '#d562f5',
950: '#000000',
},
}SCSS
$custom: #d562f5; $custom-light: #e595f9; $custom-dark: #000000;
JSON
{
"hex": "#d562f5",
"rgb": {
"r": 213,
"g": 98,
"b": 245
},
"hsl": {
"h": 286.939,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.69384,
"c": 0.22789,
"h": 318.3
},
"luminance": 0.29474
}Semantic roles & 50–950 ramp
primary
#D562F5
secondary
#CCF1C2
accent
#E50132
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85