#B97DFC#B97DFC
#B97DFC is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.4% C 0.186 H 303.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B97DFC |
|---|---|
| RGB | rgb(185, 125, 252) |
| HSL | hsl(268, 95%, 74%) |
| HSV | hsv(268, 50%, 99%) |
| CMYK | cmyk(26.6%, 50.4%, 0%, 1.2%) |
| CIE-LAB | lab(63.35, 47.40, -54.89) |
| CIE-LCH | lch(63.35, 72.53, 310.81°) |
| OKLab | oklab(70.37% 0.1034 -0.1543) |
| OKLCH | oklch(70.37% 0.186 303.8) |
| XYZ | xyz(44.9080, 32.0099, 95.8893) |
| Luminance | 0.3201 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.17
Easter Purple
#C071FE
ΔE00 2.94
Light Urple
#B36FF6
ΔE00 3.56
Liliac
#C48EFD
ΔE00 4.54
Bright Lavender
#C760FF
ΔE00 6.26
Bright Lilac
#C95EFB
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97DFC #C0FC7D
analogous
#7D81FC #B97DFC #F87DFC
triadic
#B97DFC #FCB97D #7DFCB9
tetradic
#B97DFC #FC7D81 #C0FC7D #7DFCF8
square
#B97DFC #FC7D81 #C0FC7D #7DFCF8
split-complementary
#B97DFC #FCF87D #81FC7D
monochromatic
#7906F9 #9941FB #B97DFC #D9B9FD #EFE1FE
Accessibility & contrast
On white
2.84
#B97DFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.40
#B97DFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97DFC
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97DFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97DFC | 1.00 | 2.84 | 7.40 | 7.40 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#6699F9
Tritanopia (blue-blind)
#AD94B1
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b97dfc; /* rgb */ color: rgb(185, 125, 252); /* oklch */ color: oklch(70.4% 0.186 303.8);
Tailwind
colors: {
custom: {
50: '#d1a4fe',
500: '#b97dfc',
950: '#000000',
},
}SCSS
$custom: #b97dfc; $custom-light: #d1a4fe; $custom-dark: #000000;
JSON
{
"hex": "#b97dfc",
"rgb": {
"r": 185,
"g": 125,
"b": 252
},
"hsl": {
"h": 268.346,
"s": 95.489,
"l": 73.922
},
"oklch": {
"l": 0.70374,
"c": 0.18571,
"h": 303.8
},
"luminance": 0.3201
}Semantic roles & 50–950 ramp
primary
#B97DFC
secondary
#E6F7D4
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86