#B799FC#B799FC
#B799FC is a light, vivid violet. Relative luminance 0.399; OKLCH L 74.9% C 0.142 H 296.8°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B799FC |
|---|---|
| RGB | rgb(183, 153, 252) |
| HSL | hsl(258, 94%, 79%) |
| HSV | hsv(258, 39%, 99%) |
| CMYK | cmyk(27.4%, 39.3%, 0%, 1.2%) |
| CIE-LAB | lab(69.38, 31.49, -45.38) |
| CIE-LCH | lch(69.38, 55.23, 304.76°) |
| OKLab | oklab(74.86% 0.064 -0.1267) |
| OKLCH | oklch(74.86% 0.142 296.8) |
| XYZ | xyz(48.4862, 39.8775, 97.2192) |
| Luminance | 0.3988 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 3.91
Liliac
#C48EFD
ΔE00 4.33
Baby Purple
#CA9BF7
ΔE00 4.53
Lilac (survey)
#CEA2FD
ΔE00 4.99
Lavender (survey)
#C79FEF
ΔE00 5.29
Lavender
#B39DDB
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B799FC #DEFC99
analogous
#99ADFC #B799FC #E999FC
triadic
#B799FC #FCB799 #99FCB7
tetradic
#B799FC #FC99AD #DEFC99 #99FCE9
square
#B799FC #FC99AD #DEFC99 #99FCE9
split-complementary
#B799FC #FCE999 #ADFC99
monochromatic
#6322F9 #8D5EFA #B799FC #E1D4FE #EAE1FE
Accessibility & contrast
On white
2.34
#B799FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#B799FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B799FC
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B799FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B799FC | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#A9AABF
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b799fc; /* rgb */ color: rgb(183, 153, 252); /* oklch */ color: oklch(74.9% 0.142 296.8);
Tailwind
colors: {
custom: {
50: '#ceb7fe',
500: '#b799fc',
950: '#000000',
},
}SCSS
$custom: #b799fc; $custom-light: #ceb7fe; $custom-dark: #000000;
JSON
{
"hex": "#b799fc",
"rgb": {
"r": 183,
"g": 153,
"b": 252
},
"hsl": {
"h": 258.182,
"s": 94.286,
"l": 79.412
},
"oklch": {
"l": 0.74857,
"c": 0.14191,
"h": 296.8
},
"luminance": 0.39878
}Semantic roles & 50–950 ramp
primary
#B799FC
secondary
#ECF6D5
accent
#E600A0
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086