#B97DDF#B97DDF
#B97DDF is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.8% C 0.152 H 311.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B97DDF |
|---|---|
| RGB | rgb(185, 125, 223) |
| HSL | hsl(277, 60%, 68%) |
| HSV | hsv(277, 44%, 87%) |
| CMYK | cmyk(17%, 43.9%, 0%, 12.5%) |
| CIE-LAB | lab(61.92, 40.87, -41.10) |
| CIE-LCH | lch(61.92, 57.97, 314.84°) |
| OKLab | oklab(68.84% 0.0998 -0.1142) |
| OKLCH | oklch(68.84% 0.152 311.2) |
| XYZ | xyz(40.6581, 30.3099, 73.5063) |
| Luminance | 0.3031 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.04
Wisteria
#A87DC2
ΔE00 5.64
Easter Purple
#C071FE
ΔE00 5.65
Light Urple
#B36FF6
ΔE00 5.75
Liliac
#C48EFD
ΔE00 5.91
Pale Purple
#B790D4
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97DDF #A3DF7D
analogous
#887DDF #B97DDF #DF7DD4
triadic
#B97DDF #DFB97D #7DDFB9
tetradic
#B97DDF #DF887D #A3DF7D #7DD4DF
square
#B97DDF #DF887D #A3DF7D #7DD4DF
split-complementary
#B97DDF #D4DF7D #7DDF88
monochromatic
#802DB5 #9F4CD3 #B97DDF #D3AEEB #EEDFF7
Accessibility & contrast
On white
2.97
#B97DDF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#B97DDF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97DDF
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97DDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97DDF | 1.00 | 2.97 | 7.06 | 7.06 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6893E3
Deuteranopia (green-blind)
#7897DC
Tritanopia (blue-blind)
#B58CA3
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b97ddf; /* rgb */ color: rgb(185, 125, 223); /* oklch */ color: oklch(68.8% 0.152 311.2);
Tailwind
colors: {
custom: {
50: '#d0a4e9',
500: '#b97ddf',
950: '#000000',
},
}SCSS
$custom: #b97ddf; $custom-light: #d0a4e9; $custom-dark: #000000;
JSON
{
"hex": "#b97ddf",
"rgb": {
"r": 185,
"g": 125,
"b": 223
},
"hsl": {
"h": 276.735,
"s": 60.494,
"l": 68.235
},
"oklch": {
"l": 0.68841,
"c": 0.15167,
"h": 311.2
},
"luminance": 0.30309
}Semantic roles & 50–950 ramp
primary
#B97DDF
secondary
#D9EBCD
accent
#C81D60
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84