#B97EE2#B97EE2
#B97EE2 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.2% C 0.154 H 310.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B97EE2 |
|---|---|
| RGB | rgb(185, 126, 226) |
| HSL | hsl(275, 63%, 69%) |
| HSV | hsv(275, 44%, 89%) |
| CMYK | cmyk(18.1%, 44.2%, 0%, 11.4%) |
| CIE-LAB | lab(62.28, 40.98, -42.22) |
| CIE-LCH | lch(62.28, 58.84, 314.15°) |
| OKLab | oklab(69.15% 0.0989 -0.1174) |
| OKLCH | oklch(69.15% 0.154 310.1) |
| XYZ | xyz(41.1934, 30.7276, 75.6977) |
| Luminance | 0.3073 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.69
Easter Purple
#C071FE
ΔE00 5.36
Liliac
#C48EFD
ΔE00 5.41
Light Urple
#B36FF6
ΔE00 5.51
Wisteria
#A87DC2
ΔE00 6.03
Pale Purple
#B790D4
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97EE2 #A7E27E
analogous
#877EE2 #B97EE2 #E27ED9
triadic
#B97EE2 #E2B97E #7EE2B9
tetradic
#B97EE2 #E2877E #A7E27E #7ED9E2
square
#B97EE2 #E2877E #A7E27E #7ED9E2
split-complementary
#B97EE2 #D9E27E #7EE287
monochromatic
#802ABB #9E4CD7 #B97EE2 #D4B0ED #EFE2F8
Accessibility & contrast
On white
2.94
#B97EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#B97EE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97EE2
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97EE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97EE2 | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6894E6
Deuteranopia (green-blind)
#7798DF
Tritanopia (blue-blind)
#B48DA5
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b97ee2; /* rgb */ color: rgb(185, 126, 226); /* oklch */ color: oklch(69.2% 0.154 310.1);
Tailwind
colors: {
custom: {
50: '#d0a4eb',
500: '#b97ee2',
950: '#000000',
},
}SCSS
$custom: #b97ee2; $custom-light: #d0a4eb; $custom-dark: #000000;
JSON
{
"hex": "#b97ee2",
"rgb": {
"r": 185,
"g": 126,
"b": 226
},
"hsl": {
"h": 275.4,
"s": 63.291,
"l": 69.02
},
"oklch": {
"l": 0.69154,
"c": 0.15352,
"h": 310.1
},
"luminance": 0.30727
}Semantic roles & 50–950 ramp
primary
#B97EE2
secondary
#DBEDCF
accent
#CB1A63
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84