#B97BDF#B97BDF
#B97BDF is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.5% C 0.155 H 311.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B97BDF |
|---|---|
| RGB | rgb(185, 123, 223) |
| HSL | hsl(277, 61%, 68%) |
| HSV | hsv(277, 45%, 87%) |
| CMYK | cmyk(17%, 44.8%, 0%, 12.5%) |
| CIE-LAB | lab(61.49, 41.96, -41.78) |
| CIE-LCH | lch(61.49, 59.21, 315.12°) |
| OKLab | oklab(68.52% 0.1027 -0.1161) |
| OKLCH | oklch(68.52% 0.155 311.5) |
| XYZ | xyz(40.4075, 29.8087, 73.4227) |
| Luminance | 0.2981 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.82
Easter Purple
#C071FE
ΔE00 5.37
Light Urple
#B36FF6
ΔE00 5.41
Wisteria
#A87DC2
ΔE00 5.78
Liliac
#C48EFD
ΔE00 6.23
Pale Purple
#B790D4
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97BDF #A1DF7B
analogous
#877BDF #B97BDF #DF7BD3
triadic
#B97BDF #DFB97B #7BDFB9
tetradic
#B97BDF #DF877B #A1DF7B #7BD3DF
square
#B97BDF #DF877B #A1DF7B #7BD3DF
split-complementary
#B97BDF #D3DF7B #7BDF87
monochromatic
#802CB4 #9F4AD3 #B97BDF #D3ACEB #EDDEF7
Accessibility & contrast
On white
3.02
#B97BDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#B97BDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B97BDF
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97BDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97BDF | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6591E3
Deuteranopia (green-blind)
#7696DC
Tritanopia (blue-blind)
#B58AA2
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b97bdf; /* rgb */ color: rgb(185, 123, 223); /* oklch */ color: oklch(68.5% 0.155 311.5);
Tailwind
colors: {
custom: {
50: '#d0a2e9',
500: '#b97bdf',
950: '#000000',
},
}SCSS
$custom: #b97bdf; $custom-light: #d0a2e9; $custom-dark: #000000;
JSON
{
"hex": "#b97bdf",
"rgb": {
"r": 185,
"g": 123,
"b": 223
},
"hsl": {
"h": 277.2,
"s": 60.976,
"l": 67.843
},
"oklch": {
"l": 0.68518,
"c": 0.15499,
"h": 311.5
},
"luminance": 0.29808
}Semantic roles & 50–950 ramp
primary
#B97BDF
secondary
#D7EACB
accent
#C91D5E
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84