#B299F9#B299F9
#B299F9 is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.3% C 0.137 H 294.8°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B299F9 |
|---|---|
| RGB | rgb(178, 153, 249) |
| HSL | hsl(256, 89%, 79%) |
| HSV | hsv(256, 39%, 98%) |
| CMYK | cmyk(28.5%, 38.6%, 0%, 2.4%) |
| CIE-LAB | lab(68.81, 29.38, -44.67) |
| CIE-LCH | lch(68.81, 53.46, 303.33°) |
| OKLab | oklab(74.28% 0.0577 -0.1247) |
| OKLCH | oklch(74.28% 0.137 294.8) |
| XYZ | xyz(46.8460, 39.0864, 94.6805) |
| Luminance | 0.3909 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 4.77
Liliac
#C48EFD
ΔE00 5.19
Baby Purple
#CA9BF7
ΔE00 5.37
Lilac (survey)
#CEA2FD
ΔE00 5.78
Lavender (survey)
#C79FEF
ΔE00 5.84
Lavender
#B39DDB
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B299F9 #E0F999
analogous
#99B0F9 #B299F9 #E299F9
triadic
#B299F9 #F9B299 #99F9B2
tetradic
#B299F9 #F999B0 #E0F999 #99F9E2
square
#B299F9 #F999B0 #E0F999 #99F9E2
split-complementary
#B299F9 #F9E299 #B0F999
monochromatic
#5B25F2 #865FF6 #B299F9 #DED3FC #E9E2FD
Accessibility & contrast
On white
2.38
#B299F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#B299F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B299F9
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B299F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B299F9 | 1.00 | 2.38 | 8.82 | 8.82 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EA9FD
Deuteranopia (green-blind)
#82A6F7
Tritanopia (blue-blind)
#A3AABD
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b299f9; /* rgb */ color: rgb(178, 153, 249); /* oklch */ color: oklch(74.3% 0.137 294.8);
Tailwind
colors: {
custom: {
50: '#cbb7fb',
500: '#b299f9',
950: '#000000',
},
}SCSS
$custom: #b299f9; $custom-light: #cbb7fb; $custom-dark: #000000;
JSON
{
"hex": "#b299f9",
"rgb": {
"r": 178,
"g": 153,
"b": 249
},
"hsl": {
"h": 255.625,
"s": 88.889,
"l": 78.824
},
"oklch": {
"l": 0.74277,
"c": 0.13741,
"h": 294.8
},
"luminance": 0.39087
}Semantic roles & 50–950 ramp
primary
#B299F9
secondary
#EDF5D6
accent
#E600AA
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085