#B79EF2#B79EF2
#B79EF2 is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.3% C 0.121 H 297.1°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #B79EF2 |
|---|---|
| RGB | rgb(183, 158, 242) |
| HSL | hsl(258, 76%, 78%) |
| HSV | hsv(258, 35%, 95%) |
| CMYK | cmyk(24.4%, 34.7%, 0%, 5.1%) |
| CIE-LAB | lab(70.13, 26.32, -38.76) |
| CIE-LCH | lch(70.13, 46.85, 304.18°) |
| OKLab | oklab(75.28% 0.0551 -0.1076) |
| OKLCH | oklch(75.28% 0.121 297.1) |
| XYZ | xyz(47.7786, 40.9314, 89.3706) |
| Luminance | 0.4093 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 3.81
Lavender (survey)
#C79FEF
ΔE00 3.96
Baby Purple
#CA9BF7
ΔE00 4.33
Lilac (survey)
#CEA2FD
ΔE00 4.47
Lavender
#B39DDB
ΔE00 4.54
Pale Violet
#CEAEFA
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B79EF2 #D9F29E
analogous
#9EAFF2 #B79EF2 #E19EF2
triadic
#B79EF2 #F2B79E #9EF2B7
tetradic
#B79EF2 #F29EAF #D9F29E #9EF2E1
square
#B79EF2 #F29EAF #D9F29E #9EF2E1
split-complementary
#B79EF2 #F2E19E #AFF29E
monochromatic
#6732E4 #8F68EB #B79EF2 #DFD4F9 #EBE4FB
Accessibility & contrast
On white
2.29
#B79EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#B79EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B79EF2
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B79EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B79EF2 | 1.00 | 2.29 | 9.19 | 9.19 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#8DABF0
Tritanopia (blue-blind)
#ABACBD
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b79ef2; /* rgb */ color: rgb(183, 158, 242); /* oklch */ color: oklch(75.3% 0.121 297.1);
Tailwind
colors: {
custom: {
50: '#cebaf6',
500: '#b79ef2',
950: '#000000',
},
}SCSS
$custom: #b79ef2; $custom-light: #cebaf6; $custom-dark: #000000;
JSON
{
"hex": "#b79ef2",
"rgb": {
"r": 183,
"g": 158,
"b": 242
},
"hsl": {
"h": 257.857,
"s": 76.364,
"l": 78.431
},
"oklch": {
"l": 0.75281,
"c": 0.12086,
"h": 297.1
},
"luminance": 0.40932
}Semantic roles & 50–950 ramp
primary
#B79EF2
secondary
#EBF3D8
accent
#D90D9C
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085