#D271CF#D271CF
#D271CF is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.1% C 0.168 H 328.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #D271CF |
|---|---|
| RGB | rgb(210, 113, 207) |
| HSL | hsl(302, 52%, 63%) |
| HSV | hsv(302, 46%, 82%) |
| CMYK | cmyk(0%, 46.2%, 1.4%, 17.6%) |
| CIE-LAB | lab(61.67, 51.25, -32.31) |
| CIE-LCH | lch(61.67, 60.59, 327.77°) |
| OKLab | oklab(69.06% 0.1433 -0.0883) |
| OKLCH | oklch(69.06% 0.168 328.3) |
| XYZ | xyz(43.7453, 30.0192, 62.5095) |
| Luminance | 0.3002 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 1.53
Orchid (survey)
#C875C4
ΔE00 2.52
Lavender Pink
#DD85D7
ΔE00 5.09
Purply Pink
#F075E6
ΔE00 5.47
Purpleish Pink
#DF4EC8
ΔE00 6.27
Violet (CSS)
#EE82EE
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D271CF #71D274
analogous
#A471D2 #D271CF #D2719E
triadic
#D271CF #CFD271 #71CFD2
tetradic
#D271CF #D2A471 #71D274 #719ED2
square
#D271CF #D2A471 #71D274 #719ED2
split-complementary
#D271CF #9ED271 #71D2A4
monochromatic
#983095 #C343BF #D271CF #E19FDF #EFCEEE
Accessibility & contrast
On white
3.00
#D271CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.00
#D271CF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D271CF
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D271CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D271CF | 1.00 | 3.00 | 7.00 | 7.00 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A8DD2
Deuteranopia (green-blind)
#869ACC
Tritanopia (blue-blind)
#D87A96
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #d271cf; /* rgb */ color: rgb(210, 113, 207); /* oklch */ color: oklch(69.1% 0.168 328.3);
Tailwind
colors: {
custom: {
50: '#e29dde',
500: '#d271cf',
950: '#000000',
},
}SCSS
$custom: #d271cf; $custom-light: #e29dde; $custom-dark: #000000;
JSON
{
"hex": "#d271cf",
"rgb": {
"r": 210,
"g": 113,
"b": 207
},
"hsl": {
"h": 301.856,
"s": 51.872,
"l": 63.333
},
"oklch": {
"l": 0.6906,
"c": 0.1683,
"h": 328.3
},
"luminance": 0.30017
}Semantic roles & 50–950 ramp
primary
#D271CF
secondary
#BEE1BF
accent
#BF2B26
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83