#B299FC#B299FC
#B299FC is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.4% C 0.141 H 294.3°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B299FC |
|---|---|
| RGB | rgb(178, 153, 252) |
| HSL | hsl(255, 94%, 79%) |
| HSV | hsv(255, 39%, 99%) |
| CMYK | cmyk(29.4%, 39.3%, 0%, 1.2%) |
| CIE-LAB | lab(68.95, 30.11, -46.09) |
| CIE-LCH | lch(68.95, 55.05, 303.16°) |
| OKLab | oklab(74.43% 0.0582 -0.1288) |
| OKLCH | oklch(74.43% 0.141 294.3) |
| XYZ | xyz(47.3177, 39.2750, 97.1645) |
| Luminance | 0.3928 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 4.92
Liliac
#C48EFD
ΔE00 5.22
Baby Purple
#CA9BF7
ΔE00 5.61
Lilac (survey)
#CEA2FD
ΔE00 5.98
Lavender (survey)
#C79FEF
ΔE00 6.20
Lavender
#B39DDB
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B299FC #E3FC99
analogous
#99B2FC #B299FC #E499FC
triadic
#B299FC #FCB299 #99FCB2
tetradic
#B299FC #FC99B2 #E3FC99 #99FCE4
square
#B299FC #FC99B2 #E3FC99 #99FCE4
split-complementary
#B299FC #FCE499 #B2FC99
monochromatic
#5822F9 #855EFA #B299FC #DFD4FE #E9E1FE
Accessibility & contrast
On white
2.37
#B299FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.86
#B299FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B299FC
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B299FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B299FC | 1.00 | 2.37 | 8.86 | 8.86 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#80A7F9
Tritanopia (blue-blind)
#A2ABBF
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b299fc; /* rgb */ color: rgb(178, 153, 252); /* oklch */ color: oklch(74.4% 0.141 294.3);
Tailwind
colors: {
custom: {
50: '#cbb7fe',
500: '#b299fc',
950: '#000000',
},
}SCSS
$custom: #b299fc; $custom-light: #cbb7fe; $custom-dark: #000000;
JSON
{
"hex": "#b299fc",
"rgb": {
"r": 178,
"g": 153,
"b": 252
},
"hsl": {
"h": 255.152,
"s": 94.286,
"l": 79.412
},
"oklch": {
"l": 0.74425,
"c": 0.14139,
"h": 294.3
},
"luminance": 0.39276
}Semantic roles & 50–950 ramp
primary
#B299FC
secondary
#EEF6D5
accent
#E600AC
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086