#D271F1#D271F1
#D271F1 is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 70.7% C 0.201 H 317.4°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #D271F1 |
|---|---|
| RGB | rgb(210, 113, 241) |
| HSL | hsl(285, 82%, 69%) |
| HSV | hsv(285, 53%, 95%) |
| CMYK | cmyk(12.9%, 53.1%, 0%, 5.5%) |
| CIE-LAB | lab(63.23, 57.65, -48.84) |
| CIE-LCH | lch(63.23, 75.56, 319.73°) |
| OKLab | oklab(70.72% 0.1479 -0.136) |
| OKLCH | oklch(70.72% 0.201 317.4) |
| XYZ | xyz(48.3584, 31.8645, 86.8052) |
| Luminance | 0.3186 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.92
Easter Purple
#C071FE
ΔE00 4.39
Bright Lilac
#C95EFB
ΔE00 4.79
Bright Lavender
#C760FF
ΔE00 4.99
Orchid
#DA70D6
ΔE00 5.40
Heliotrope
#D94FF5
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D271F1 #90F171
analogous
#9271F1 #D271F1 #F171D0
triadic
#D271F1 #F1D271 #71F1D2
tetradic
#D271F1 #F19271 #90F171 #71D0F1
square
#D271F1 #F19271 #90F171 #71D0F1
split-complementary
#D271F1 #D0F171 #71F192
monochromatic
#A515D3 #C039EC #D271F1 #E4A9F6 #F5E0FC
Accessibility & contrast
On white
2.85
#D271F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.37
#D271F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D271F1
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D271F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D271F1 | 1.00 | 2.85 | 7.37 | 7.37 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5593F5
Deuteranopia (green-blind)
#759CEE
Tritanopia (blue-blind)
#D185A7
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #d271f1; /* rgb */ color: rgb(210, 113, 241); /* oklch */ color: oklch(70.7% 0.201 317.4);
Tailwind
colors: {
custom: {
50: '#e29df6',
500: '#d271f1',
950: '#000000',
},
}SCSS
$custom: #d271f1; $custom-light: #e29df6; $custom-dark: #000000;
JSON
{
"hex": "#d271f1",
"rgb": {
"r": 210,
"g": 113,
"b": 241
},
"hsl": {
"h": 285.469,
"s": 82.051,
"l": 69.412
},
"oklch": {
"l": 0.70723,
"c": 0.20087,
"h": 317.4
},
"luminance": 0.31863
}Semantic roles & 50–950 ramp
primary
#D271F1
secondary
#D5F1CC
accent
#DE073B
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160F17
muted
#847E85