#B79CF8#B79CF8
#B79CF8 is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.2% C 0.132 H 296.6°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B79CF8 |
|---|---|
| RGB | rgb(183, 156, 248) |
| HSL | hsl(258, 87%, 79%) |
| HSV | hsv(258, 37%, 97%) |
| CMYK | cmyk(26.2%, 37.1%, 0%, 2.7%) |
| CIE-LAB | lab(69.91, 28.85, -42.37) |
| CIE-LCH | lch(69.91, 51.26, 304.25°) |
| OKLab | oklab(75.2% 0.0591 -0.118) |
| OKLCH | oklch(75.2% 0.132 296.6) |
| XYZ | xyz(48.3562, 40.6210, 94.0818) |
| Luminance | 0.4062 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 3.68
Baby Purple
#CA9BF7
ΔE00 4.36
Lilac (survey)
#CEA2FD
ΔE00 4.61
Lavender (survey)
#C79FEF
ΔE00 4.64
Liliac
#C48EFD
ΔE00 5.09
Lavender
#B39DDB
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B79CF8 #DDF89C
analogous
#9CAFF8 #B79CF8 #E59CF8
triadic
#B79CF8 #F8B79C #9CF8B7
tetradic
#B79CF8 #F89CAF #DDF89C #9CF8E5
square
#B79CF8 #F89CAF #DDF89C #9CF8E5
split-complementary
#B79CF8 #F8E59C #AFF89C
monochromatic
#642AF0 #8D63F4 #B79CF8 #E1D5FC #EAE2FD
Accessibility & contrast
On white
2.30
#B79CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#B79CF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B79CF8
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B79CF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B79CF8 | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84ABFC
Deuteranopia (green-blind)
#88AAF6
Tritanopia (blue-blind)
#AAACBE
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b79cf8; /* rgb */ color: rgb(183, 156, 248); /* oklch */ color: oklch(75.2% 0.132 296.6);
Tailwind
colors: {
custom: {
50: '#ceb9fb',
500: '#b79cf8',
950: '#000000',
},
}SCSS
$custom: #b79cf8; $custom-light: #ceb9fb; $custom-dark: #000000;
JSON
{
"hex": "#b79cf8",
"rgb": {
"r": 183,
"g": 156,
"b": 248
},
"hsl": {
"h": 257.609,
"s": 86.792,
"l": 79.216
},
"oklch": {
"l": 0.752,
"c": 0.13197,
"h": 296.6
},
"luminance": 0.40622
}Semantic roles & 50–950 ramp
primary
#B79CF8
secondary
#ECF5D6
accent
#E302A1
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085