#D262F5#D262F5
#D262F5 is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 69.0% C 0.227 H 317.4°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #D262F5 |
|---|---|
| RGB | rgb(210, 98, 245) |
| HSL | hsl(286, 88%, 67%) |
| HSV | hsv(286, 60%, 96%) |
| CMYK | cmyk(14.3%, 60%, 0%, 3.9%) |
| CIE-LAB | lab(60.81, 65.50, -54.90) |
| CIE-LCH | lch(60.81, 85.47, 320.03°) |
| OKLab | oklab(69.02% 0.1667 -0.1535) |
| OKLCH | oklch(69.02% 0.227 317.4) |
| XYZ | xyz(47.4251, 29.0314, 89.4740) |
| Luminance | 0.2903 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.31
Bright Lavender
#C760FF
ΔE00 2.83
Heliotrope
#D94FF5
ΔE00 2.86
Easter Purple
#C071FE
ΔE00 4.43
Light Purple
#BF77F6
ΔE00 5.00
Light Urple
#B36FF6
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D262F5 #85F562
analogous
#8862F5 #D262F5 #F562CF
triadic
#D262F5 #F5D262 #62F5D2
tetradic
#D262F5 #F58862 #85F562 #62CFF5
square
#D262F5 #F58862 #85F562 #62CFF5
split-complementary
#D262F5 #CFF562 #62F588
monochromatic
#A10DCF #C228F1 #D262F5 #E29CF9 #F3D5FC
Accessibility & contrast
On white
3.09
#D262F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#D262F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D262F5
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D262F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D262F5 | 1.00 | 3.09 | 6.81 | 6.81 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#388CFA
Deuteranopia (green-blind)
#6696F1
Tritanopia (blue-blind)
#D17BA3
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #d262f5; /* rgb */ color: rgb(210, 98, 245); /* oklch */ color: oklch(69.0% 0.227 317.4);
Tailwind
colors: {
custom: {
50: '#e394f9',
500: '#d262f5',
950: '#000000',
},
}SCSS
$custom: #d262f5; $custom-light: #e394f9; $custom-dark: #000000;
JSON
{
"hex": "#d262f5",
"rgb": {
"r": 210,
"g": 98,
"b": 245
},
"hsl": {
"h": 285.714,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.69019,
"c": 0.22662,
"h": 317.4
},
"luminance": 0.2903
}Semantic roles & 50–950 ramp
primary
#D262F5
secondary
#CDF1C2
accent
#E50137
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85