#B799EF#B799EF
#B799EF is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.2% C 0.125 H 299.4°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B799EF |
|---|---|
| RGB | rgb(183, 153, 239) |
| HSL | hsl(261, 73%, 77%) |
| HSV | hsv(261, 36%, 94%) |
| CMYK | cmyk(23.4%, 36%, 0%, 6.3%) |
| CIE-LAB | lab(68.81, 28.41, -39.18) |
| CIE-LCH | lch(68.81, 48.39, 305.95°) |
| OKLab | oklab(74.24% 0.0613 -0.1088) |
| OKLCH | oklch(74.24% 0.125 299.4) |
| XYZ | xyz(46.4962, 39.0815, 86.7385) |
| Luminance | 0.3908 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 3.70
Baby Purple
#CA9BF7
ΔE00 3.74
Pastel Purple
#CAA0FF
ΔE00 3.78
Lilac (survey)
#CEA2FD
ΔE00 4.46
Lavender
#B39DDB
ΔE00 4.60
Liliac
#C48EFD
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B799EF #D1EF99
analogous
#99A6EF #B799EF #E299EF
triadic
#B799EF #EFB799 #99EFB7
tetradic
#B799EF #EF99A6 #D1EF99 #99EFE2
square
#B799EF #EF99A6 #D1EF99 #99EFE2
split-complementary
#B799EF #EFE299 #A6EF99
monochromatic
#6C2FDE #9264E7 #B799EF #DCCEF7 #ECE5FB
Accessibility & contrast
On white
2.38
#B799EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.82
#B799EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B799EF
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B799EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B799EF | 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)
#84A8F2
Deuteranopia (green-blind)
#89A7ED
Tritanopia (blue-blind)
#ADA7B9
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b799ef; /* rgb */ color: rgb(183, 153, 239); /* oklch */ color: oklch(74.2% 0.125 299.4);
Tailwind
colors: {
custom: {
50: '#ceb7f4',
500: '#b799ef',
950: '#000000',
},
}SCSS
$custom: #b799ef; $custom-light: #ceb7f4; $custom-dark: #000000;
JSON
{
"hex": "#b799ef",
"rgb": {
"r": 183,
"g": 153,
"b": 239
},
"hsl": {
"h": 260.93,
"s": 72.881,
"l": 76.863
},
"oklch": {
"l": 0.74235,
"c": 0.12486,
"h": 299.4
},
"luminance": 0.39082
}Semantic roles & 50–950 ramp
primary
#B799EF
secondary
#E9F3D8
accent
#D51190
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085