#B299FB#B299FB
#B299FB is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.4% C 0.140 H 294.5°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #B299FB |
|---|---|
| RGB | rgb(178, 153, 251) |
| HSL | hsl(255, 92%, 79%) |
| HSV | hsv(255, 39%, 98%) |
| CMYK | cmyk(29.1%, 39%, 0%, 1.6%) |
| CIE-LAB | lab(68.90, 29.87, -45.61) |
| CIE-LCH | lch(68.90, 54.52, 303.22°) |
| OKLab | oklab(74.38% 0.058 -0.1275) |
| OKLCH | oklch(74.38% 0.14 294.5) |
| XYZ | xyz(47.1596, 39.2118, 96.3321) |
| Luminance | 0.3921 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 4.86
Liliac
#C48EFD
ΔE00 5.21
Baby Purple
#CA9BF7
ΔE00 5.52
Lilac (survey)
#CEA2FD
ΔE00 5.91
Lavender (survey)
#C79FEF
ΔE00 6.08
Lavender
#B39DDB
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B299FB #E2FB99
analogous
#99B1FB #B299FB #E399FB
triadic
#B299FB #FBB299 #99FBB2
tetradic
#B299FB #FB99B1 #E2FB99 #99FBE3
square
#B299FB #FB99B1 #E2FB99 #99FBE3
split-complementary
#B299FB #FBE399 #B1FB99
monochromatic
#5923F6 #865EF9 #B299FB #DED4FD #E9E2FE
Accessibility & contrast
On white
2.37
#B299FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#B299FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B299FB
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B299FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B299FB | 1.00 | 2.37 | 8.84 | 8.84 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#A2AABE
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b299fb; /* rgb */ color: rgb(178, 153, 251); /* oklch */ color: oklch(74.4% 0.140 294.5);
Tailwind
colors: {
custom: {
50: '#cbb7fd',
500: '#b299fb',
950: '#000000',
},
}SCSS
$custom: #b299fb; $custom-light: #cbb7fd; $custom-dark: #000000;
JSON
{
"hex": "#b299fb",
"rgb": {
"r": 178,
"g": 153,
"b": 251
},
"hsl": {
"h": 255.306,
"s": 92.453,
"l": 79.216
},
"oklch": {
"l": 0.74376,
"c": 0.14006,
"h": 294.5
},
"luminance": 0.39212
}Semantic roles & 50–950 ramp
primary
#B299FB
secondary
#EEF6D5
accent
#E600AB
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085