#B79EF6#B79EF6
#B79EF6 is a light, vivid violet. Relative luminance 0.412; OKLCH L 75.5% C 0.126 H 296.3°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #B79EF6 |
|---|---|
| RGB | rgb(183, 158, 246) |
| HSL | hsl(257, 83%, 79%) |
| HSV | hsv(257, 36%, 96%) |
| CMYK | cmyk(25.6%, 35.8%, 0%, 3.5%) |
| CIE-LAB | lab(70.30, 27.26, -40.68) |
| CIE-LCH | lch(70.30, 48.97, 303.83°) |
| OKLab | oklab(75.47% 0.0559 -0.1131) |
| OKLCH | oklch(75.47% 0.126 296.3) |
| XYZ | xyz(48.3859, 41.1743, 92.5692) |
| Luminance | 0.4118 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 3.74
Lavender (survey)
#C79FEF
ΔE00 4.41
Baby Purple
#CA9BF7
ΔE00 4.47
Lilac (survey)
#CEA2FD
ΔE00 4.56
Lavender
#B39DDB
ΔE00 5.29
Pale Violet
#CEAEFA
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B79EF6 #DDF69E
analogous
#9EB1F6 #B79EF6 #E39EF6
triadic
#B79EF6 #F6B79E #9EF6B7
tetradic
#B79EF6 #F69EB1 #DDF69E #9EF6E3
square
#B79EF6 #F69EB1 #DDF69E #9EF6E3
split-complementary
#B79EF6 #F6E39E #B1F69E
monochromatic
#642EEC #8D66F1 #B79EF6 #E1D6FB #EAE3FC
Accessibility & contrast
On white
2.27
#B79EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.24
#B79EF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B79EF6
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B79EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B79EF6 | 1.00 | 2.27 | 9.24 | 9.24 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87ACF9
Deuteranopia (green-blind)
#8BABF4
Tritanopia (blue-blind)
#AAADBF
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #b79ef6; /* rgb */ color: rgb(183, 158, 246); /* oklch */ color: oklch(75.5% 0.126 296.3);
Tailwind
colors: {
custom: {
50: '#cebaf9',
500: '#b79ef6',
950: '#000000',
},
}SCSS
$custom: #b79ef6; $custom-light: #cebaf9; $custom-dark: #000000;
JSON
{
"hex": "#b79ef6",
"rgb": {
"r": 183,
"g": 158,
"b": 246
},
"hsl": {
"h": 257.045,
"s": 83.019,
"l": 79.216
},
"oklch": {
"l": 0.75467,
"c": 0.12619,
"h": 296.3
},
"luminance": 0.41175
}Semantic roles & 50–950 ramp
primary
#B79EF6
secondary
#ECF4D7
accent
#DF06A2
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085