#B97CFD#B97CFD
#B97CFD is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.3% C 0.188 H 303.8°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B97CFD |
|---|---|
| RGB | rgb(185, 124, 253) |
| HSL | hsl(268, 97%, 74%) |
| HSV | hsv(268, 51%, 99%) |
| CMYK | cmyk(26.9%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(63.20, 48.17, -55.69) |
| CIE-LCH | lch(63.20, 73.63, 310.86°) |
| OKLab | oklab(70.28% 0.1048 -0.1566) |
| OKLCH | oklch(70.28% 0.188 303.8) |
| XYZ | xyz(44.9410, 31.8216, 96.6840) |
| Luminance | 0.3182 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.13
Easter Purple
#C071FE
ΔE00 2.73
Light Urple
#B36FF6
ΔE00 3.36
Liliac
#C48EFD
ΔE00 4.78
Bright Lavender
#C760FF
ΔE00 6.04
Bright Lilac
#C95EFB
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B97CFD #C0FD7C
analogous
#7C80FD #B97CFD #F97CFD
triadic
#B97CFD #FDB97C #7CFDB9
tetradic
#B97CFD #FD7C80 #C0FD7C #7CFDF9
square
#B97CFD #FD7C80 #C0FD7C #7CFDF9
split-complementary
#B97CFD #FDF97C #80FD7C
monochromatic
#7904FB #9940FC #B97CFD #D9B8FE #EFE1FF
Accessibility & contrast
On white
2.85
#B97CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#B97CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B97CFD
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B97CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B97CFD | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#AD94B1
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b97cfd; /* rgb */ color: rgb(185, 124, 253); /* oklch */ color: oklch(70.3% 0.188 303.8);
Tailwind
colors: {
custom: {
50: '#d1a3ff',
500: '#b97cfd',
950: '#000000',
},
}SCSS
$custom: #b97cfd; $custom-light: #d1a3ff; $custom-dark: #000000;
JSON
{
"hex": "#b97cfd",
"rgb": {
"r": 185,
"g": 124,
"b": 253
},
"hsl": {
"h": 268.372,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.70275,
"c": 0.1884,
"h": 303.8
},
"luminance": 0.31821
}Semantic roles & 50–950 ramp
primary
#B97CFD
secondary
#E6F7D4
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86