#B98CFA#B98CFA
#B98CFA is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.7% C 0.160 H 301.4°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B98CFA |
|---|---|
| RGB | rgb(185, 140, 250) |
| HSL | hsl(265, 92%, 76%) |
| HSV | hsv(265, 44%, 98%) |
| CMYK | cmyk(26%, 44%, 0%, 2%) |
| CIE-LAB | lab(66.50, 38.77, -48.81) |
| CIE-LCH | lch(66.50, 62.33, 308.46°) |
| OKLab | oklab(72.69% 0.0834 -0.1366) |
| OKLCH | oklch(72.69% 0.16 301.4) |
| XYZ | xyz(46.6371, 35.9725, 94.9103) |
| Luminance | 0.3597 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.07
Baby Purple
#CA9BF7
ΔE00 5.16
Light Purple
#BF77F6
ΔE00 5.39
Pastel Purple
#CAA0FF
ΔE00 5.55
Lilac (survey)
#CEA2FD
ΔE00 6.47
Easter Purple
#C071FE
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B98CFA #CDFA8C
analogous
#8C96FA #B98CFA #F08CFA
triadic
#B98CFA #FAB98C #8CFAB9
tetradic
#B98CFA #FA8C96 #CDFA8C #8CFAF0
square
#B98CFA #FA8C96 #CDFA8C #8CFAF0
split-complementary
#B98CFA #FAF08C #96FA8C
monochromatic
#7217F5 #9551F7 #B98CFA #DDC7FD #EDE2FE
Accessibility & contrast
On white
2.56
#B98CFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#B98CFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B98CFA
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B98CFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B98CFA | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6DA1FE
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#AD9FB7
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b98cfa; /* rgb */ color: rgb(185, 140, 250); /* oklch */ color: oklch(72.7% 0.160 301.4);
Tailwind
colors: {
custom: {
50: '#d0aefc',
500: '#b98cfa',
950: '#000000',
},
}SCSS
$custom: #b98cfa; $custom-light: #d0aefc; $custom-dark: #000000;
JSON
{
"hex": "#b98cfa",
"rgb": {
"r": 185,
"g": 140,
"b": 250
},
"hsl": {
"h": 264.545,
"s": 91.667,
"l": 76.471
},
"oklch": {
"l": 0.72692,
"c": 0.16003,
"h": 301.4
},
"luminance": 0.35973
}Semantic roles & 50–950 ramp
primary
#B98CFA
secondary
#E8F6D5
accent
#E60088
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85