#B99CF3#B99CF3
#B99CF3 is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.1% C 0.126 H 298.7°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B99CF3 |
|---|---|
| RGB | rgb(185, 156, 243) |
| HSL | hsl(260, 78%, 78%) |
| HSV | hsv(260, 36%, 95%) |
| CMYK | cmyk(23.9%, 35.8%, 0%, 4.7%) |
| CIE-LAB | lab(69.87, 28.25, -39.70) |
| CIE-LCH | lch(69.87, 48.72, 305.43°) |
| OKLab | oklab(75.14% 0.0603 -0.1102) |
| OKLCH | oklch(75.14% 0.126 298.7) |
| XYZ | xyz(48.0701, 40.5620, 90.0734) |
| Luminance | 0.4056 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 3.28
Lavender (survey)
#C79FEF
ΔE00 3.59
Baby Purple
#CA9BF7
ΔE00 3.64
Lilac (survey)
#CEA2FD
ΔE00 4.02
Lavender
#B39DDB
ΔE00 4.85
Liliac
#C48EFD
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B99CF3 #D6F39C
analogous
#9CAAF3 #B99CF3 #E49CF3
triadic
#B99CF3 #F3B99C #9CF3B9
tetradic
#B99CF3 #F39CAA #D6F39C #9CF3E4
square
#B99CF3 #F39CAA #D6F39C #9CF3E4
split-complementary
#B99CF3 #F3E49C #AAF39C
monochromatic
#6C2FE6 #9265EC #B99CF3 #E0D3FA #ECE4FC
Accessibility & contrast
On white
2.30
#B99CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#B99CF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B99CF3
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B99CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B99CF3 | 1.00 | 2.30 | 9.11 | 9.11 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86ABF6
Deuteranopia (green-blind)
#8BAAF1
Tritanopia (blue-blind)
#AEAABC
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b99cf3; /* rgb */ color: rgb(185, 156, 243); /* oklch */ color: oklch(75.1% 0.126 298.7);
Tailwind
colors: {
custom: {
50: '#cfb9f7',
500: '#b99cf3',
950: '#000000',
},
}SCSS
$custom: #b99cf3; $custom-light: #cfb9f7; $custom-dark: #000000;
JSON
{
"hex": "#b99cf3",
"rgb": {
"r": 185,
"g": 156,
"b": 243
},
"hsl": {
"h": 260,
"s": 78.378,
"l": 78.235
},
"oklch": {
"l": 0.75139,
"c": 0.12567,
"h": 298.7
},
"luminance": 0.40562
}Semantic roles & 50–950 ramp
primary
#B99CF3
secondary
#EAF3D8
accent
#DB0B95
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085