#B997FC#B997FC
#B997FC is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.7% C 0.145 H 298.3°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B997FC |
|---|---|
| RGB | rgb(185, 151, 252) |
| HSL | hsl(260, 94%, 79%) |
| HSV | hsv(260, 40%, 99%) |
| CMYK | cmyk(26.6%, 40.1%, 0%, 1.2%) |
| CIE-LAB | lab(69.09, 33.15, -45.82) |
| CIE-LCH | lch(69.09, 56.55, 305.89°) |
| OKLab | oklab(74.68% 0.0689 -0.1279) |
| OKLCH | oklch(74.68% 0.145 298.3) |
| XYZ | xyz(48.6408, 39.4754, 97.1335) |
| Luminance | 0.3948 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.54
Pastel Purple
#CAA0FF
ΔE00 3.71
Baby Purple
#CA9BF7
ΔE00 4.12
Lilac (survey)
#CEA2FD
ΔE00 4.79
Lavender (survey)
#C79FEF
ΔE00 5.13
Lavender
#B39DDB
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B997FC #DAFC97
analogous
#97A8FC #B997FC #EC97FC
triadic
#B997FC #FCB997 #97FCB9
tetradic
#B997FC #FC97A8 #DAFC97 #97FCEC
square
#B997FC #FC97A8 #DAFC97 #97FCEC
split-complementary
#B997FC #FCEC97 #A8FC97
monochromatic
#6920F9 #915CFA #B997FC #E1D2FE #EBE1FE
Accessibility & contrast
On white
2.36
#B997FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.90
#B997FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B997FC
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B997FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B997FC | 1.00 | 2.36 | 8.90 | 8.90 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#82A8F9
Tritanopia (blue-blind)
#ACA8BE
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b997fc; /* rgb */ color: rgb(185, 151, 252); /* oklch */ color: oklch(74.7% 0.145 298.3);
Tailwind
colors: {
custom: {
50: '#d0b6fe',
500: '#b997fc',
950: '#000000',
},
}SCSS
$custom: #b997fc; $custom-light: #d0b6fe; $custom-dark: #000000;
JSON
{
"hex": "#b997fc",
"rgb": {
"r": 185,
"g": 151,
"b": 252
},
"hsl": {
"h": 260.198,
"s": 94.393,
"l": 79.02
},
"oklch": {
"l": 0.74681,
"c": 0.14531,
"h": 298.3
},
"luminance": 0.39476
}Semantic roles & 50–950 ramp
primary
#B997FC
secondary
#EBF6D5
accent
#E60098
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086