#D97CF2#D97CF2
#D97CF2 is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.1% C 0.188 H 318.8°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #D97CF2 |
|---|---|
| RGB | rgb(217, 124, 242) |
| HSL | hsl(287, 82%, 72%) |
| HSV | hsv(287, 49%, 95%) |
| CMYK | cmyk(10.3%, 48.8%, 0%, 5.1%) |
| CIE-LAB | lab(66.20, 54.24, -44.66) |
| CIE-LCH | lch(66.20, 70.26, 320.53°) |
| OKLab | oklab(73.11% 0.1415 -0.1237) |
| OKLCH | oklch(73.11% 0.188 318.8) |
| XYZ | xyz(51.8478, 35.5797, 88.1236) |
| Luminance | 0.3558 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.57
Purply Pink
#F075E6
ΔE00 5.15
Orchid
#DA70D6
ΔE00 5.21
Light Purple
#BF77F6
ΔE00 5.38
Violet Pink
#FB5FFC
ΔE00 6.14
Light Magenta
#FA5FF7
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D97CF2 #95F27C
analogous
#9E7CF2 #D97CF2 #F27CD0
triadic
#D97CF2 #F2D97C #7CF2D9
tetradic
#D97CF2 #F29E7C #95F27C #7CD0F2
square
#D97CF2 #F29E7C #95F27C #7CD0F2
split-complementary
#D97CF2 #D0F27C #7CF29E
monochromatic
#B316DE #C944EC #D97CF2 #E9B4F8 #F7E3FC
Accessibility & contrast
On white
2.59
#D97CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.12
#D97CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D97CF2
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D97CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D97CF2 | 1.00 | 2.59 | 8.12 | 8.12 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#83A4EF
Tritanopia (blue-blind)
#D98CAC
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #d97cf2; /* rgb */ color: rgb(217, 124, 242); /* oklch */ color: oklch(73.1% 0.188 318.8);
Tailwind
colors: {
custom: {
50: '#e7a5f7',
500: '#d97cf2',
950: '#000000',
},
}SCSS
$custom: #d97cf2; $custom-light: #e7a5f7; $custom-dark: #000000;
JSON
{
"hex": "#d97cf2",
"rgb": {
"r": 217,
"g": 124,
"b": 242
},
"hsl": {
"h": 287.288,
"s": 81.944,
"l": 71.765
},
"oklch": {
"l": 0.73109,
"c": 0.188,
"h": 318.8
},
"luminance": 0.35578
}Semantic roles & 50–950 ramp
primary
#D97CF2
secondary
#DCF4D6
accent
#DE0735
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85