#B79BF2#B79BF2
#B79BF2 is a light, vivid violet. Relative luminance 0.399; OKLCH L 74.7% C 0.126 H 298.1°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B79BF2 |
|---|---|
| RGB | rgb(183, 155, 242) |
| HSL | hsl(259, 77%, 78%) |
| HSV | hsv(259, 36%, 95%) |
| CMYK | cmyk(24.4%, 36%, 0%, 5.1%) |
| CIE-LAB | lab(69.41, 27.99, -39.88) |
| CIE-LCH | lch(69.41, 48.72, 305.07°) |
| OKLab | oklab(74.74% 0.0592 -0.1108) |
| OKLCH | oklch(74.74% 0.126 298.1) |
| XYZ | xyz(47.2731, 39.9204, 89.2021) |
| Luminance | 0.3992 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 3.66
Lavender (survey)
#C79FEF
ΔE00 3.93
Baby Purple
#CA9BF7
ΔE00 3.96
Lilac (survey)
#CEA2FD
ΔE00 4.42
Lavender
#B39DDB
ΔE00 4.85
Liliac
#C48EFD
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B79BF2 #D6F29B
analogous
#9BABF2 #B79BF2 #E29BF2
triadic
#B79BF2 #F2B79B #9BF2B7
tetradic
#B79BF2 #F29BAB #D6F29B #9BF2E2
square
#B79BF2 #F29BAB #D6F29B #9BF2E2
split-complementary
#B79BF2 #F2E29B #ABF29B
monochromatic
#692FE4 #9065EB #B79BF2 #DED1F9 #ECE4FB
Accessibility & contrast
On white
2.34
#B79BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#B79BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B79BF2
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B79BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B79BF2 | 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)
#85AAF5
Deuteranopia (green-blind)
#8AA9F0
Tritanopia (blue-blind)
#ACA9BB
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b79bf2; /* rgb */ color: rgb(183, 155, 242); /* oklch */ color: oklch(74.7% 0.126 298.1);
Tailwind
colors: {
custom: {
50: '#ceb8f6',
500: '#b79bf2',
950: '#000000',
},
}SCSS
$custom: #b79bf2; $custom-light: #ceb8f6; $custom-dark: #000000;
JSON
{
"hex": "#b79bf2",
"rgb": {
"r": 183,
"g": 155,
"b": 242
},
"hsl": {
"h": 259.31,
"s": 76.991,
"l": 77.843
},
"oklch": {
"l": 0.74736,
"c": 0.12562,
"h": 298.1
},
"luminance": 0.39921
}Semantic roles & 50–950 ramp
primary
#B79BF2
secondary
#EAF3D8
accent
#D90C97
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085