#B99CF7#B99CF7
#B99CF7 is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.3% C 0.131 H 297.9°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B99CF7 |
|---|---|
| RGB | rgb(185, 156, 247) |
| HSL | hsl(259, 85%, 79%) |
| HSV | hsv(259, 37%, 97%) |
| CMYK | cmyk(25.1%, 36.8%, 0%, 3.1%) |
| CIE-LAB | lab(70.04, 29.18, -41.61) |
| CIE-LCH | lch(70.04, 50.83, 305.04°) |
| OKLab | oklab(75.33% 0.0612 -0.1158) |
| OKLCH | oklch(75.33% 0.131 297.9) |
| XYZ | xyz(48.6807, 40.8062, 93.2894) |
| Luminance | 0.4081 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 3.24
Baby Purple
#CA9BF7
ΔE00 3.84
Lavender (survey)
#C79FEF
ΔE00 4.10
Lilac (survey)
#CEA2FD
ΔE00 4.14
Liliac
#C48EFD
ΔE00 4.84
Lavender
#B39DDB
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B99CF7 #DAF79C
analogous
#9CADF7 #B99CF7 #E79CF7
triadic
#B99CF7 #F7B99C #9CF7B9
tetradic
#B99CF7 #F79CAD #DAF79C #9CF7E7
square
#B99CF7 #F79CAD #DAF79C #9CF7E7
split-complementary
#B99CF7 #F7E79C #ADF79C
monochromatic
#692BEE #9163F2 #B99CF7 #E1D5FC #EBE3FD
Accessibility & contrast
On white
2.29
#B99CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#B99CF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B99CF7
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B99CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B99CF7 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85ABFB
Deuteranopia (green-blind)
#8AAAF5
Tritanopia (blue-blind)
#ADABBE
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b99cf7; /* rgb */ color: rgb(185, 156, 247); /* oklch */ color: oklch(75.3% 0.131 297.9);
Tailwind
colors: {
custom: {
50: '#cfb9fa',
500: '#b99cf7',
950: '#000000',
},
}SCSS
$custom: #b99cf7; $custom-light: #cfb9fa; $custom-dark: #000000;
JSON
{
"hex": "#b99cf7",
"rgb": {
"r": 185,
"g": 156,
"b": 247
},
"hsl": {
"h": 259.121,
"s": 85.047,
"l": 79.02
},
"oklch": {
"l": 0.75326,
"c": 0.13093,
"h": 297.9
},
"luminance": 0.40807
}Semantic roles & 50–950 ramp
primary
#B99CF7
secondary
#EBF5D6
accent
#E2049B
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085