#B97CFE#B97CFE
#B97CFE is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.3% C 0.190 H 303.6°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B97CFE |
|---|---|
| RGB | rgb(185, 124, 254) |
| HSL | hsl(268, 98%, 74%) |
| HSV | hsv(268, 51%, 100%) |
| CMYK | cmyk(27.2%, 51.2%, 0%, 0.4%) |
| CIE-LAB | lab(63.25, 48.40, -56.15) |
| CIE-LCH | lch(63.25, 74.14, 310.76°) |
| OKLab | oklab(70.33% 0.1048 -0.158) |
| OKLCH | oklch(70.33% 0.19 303.6) |
| XYZ | xyz(45.1007, 31.8854, 97.5252) |
| Luminance | 0.3189 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.23
Easter Purple
#C071FE
ΔE00 2.74
Light Urple
#B36FF6
ΔE00 3.39
Liliac
#C48EFD
ΔE00 4.82
Bright Lavender
#C760FF
ΔE00 6.06
Bright Lilac
#C95EFB
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97CFE #C1FE7C
analogous
#7C80FE #B97CFE #FA7CFE
triadic
#B97CFE #FEB97C #7CFEB9
tetradic
#B97CFE #FE7C80 #C1FE7C #7CFEFA
square
#B97CFE #FE7C80 #C1FE7C #7CFEFA
split-complementary
#B97CFE #FEFA7C #80FE7C
monochromatic
#7803FD #993FFE #B97CFE #D9B9FE #EFE1FF
Accessibility & contrast
On white
2.85
#B97CFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#B97CFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97CFE
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97CFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97CFE | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#6399FB
Tritanopia (blue-blind)
#AD94B2
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b97cfe; /* rgb */ color: rgb(185, 124, 254); /* oklch */ color: oklch(70.3% 0.190 303.6);
Tailwind
colors: {
custom: {
50: '#d1a3ff',
500: '#b97cfe',
950: '#000000',
},
}SCSS
$custom: #b97cfe; $custom-light: #d1a3ff; $custom-dark: #000000;
JSON
{
"hex": "#b97cfe",
"rgb": {
"r": 185,
"g": 124,
"b": 254
},
"hsl": {
"h": 268.154,
"s": 98.485,
"l": 74.118
},
"oklch": {
"l": 0.70331,
"c": 0.18957,
"h": 303.6
},
"luminance": 0.31885
}Semantic roles & 50–950 ramp
primary
#B97CFE
secondary
#E7F7D4
accent
#E6007A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86