#B79DF2#B79DF2
#B79DF2 is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.1% C 0.122 H 297.4°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B79DF2 |
|---|---|
| RGB | rgb(183, 157, 242) |
| HSL | hsl(258, 77%, 78%) |
| HSV | hsv(258, 35%, 95%) |
| CMYK | cmyk(24.4%, 35.1%, 0%, 5.1%) |
| CIE-LAB | lab(69.89, 26.88, -39.13) |
| CIE-LCH | lch(69.89, 47.48, 304.48°) |
| OKLab | oklab(75.1% 0.0564 -0.1087) |
| OKLCH | oklch(75.1% 0.122 297.4) |
| XYZ | xyz(47.6087, 40.5916, 89.3139) |
| Luminance | 0.4059 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 3.74
Lavender (survey)
#C79FEF
ΔE00 3.93
Baby Purple
#CA9BF7
ΔE00 4.19
Lilac (survey)
#CEA2FD
ΔE00 4.43
Lavender
#B39DDB
ΔE00 4.63
Pale Violet
#CEAEFA
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B79DF2 #D8F29D
analogous
#9DADF2 #B79DF2 #E19DF2
triadic
#B79DF2 #F2B79D #9DF2B7
tetradic
#B79DF2 #F29DAD #D8F29D #9DF2E1
square
#B79DF2 #F29DAD #D8F29D #9DF2E1
split-complementary
#B79DF2 #F2E19D #ADF29D
monochromatic
#6831E4 #8F67EB #B79DF2 #DFD3F9 #EBE4FB
Accessibility & contrast
On white
2.30
#B79DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#B79DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B79DF2
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B79DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B79DF2 | 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)
#88ABF5
Deuteranopia (green-blind)
#8CAAF0
Tritanopia (blue-blind)
#ACABBC
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b79df2; /* rgb */ color: rgb(183, 157, 242); /* oklch */ color: oklch(75.1% 0.122 297.4);
Tailwind
colors: {
custom: {
50: '#cebaf6',
500: '#b79df2',
950: '#000000',
},
}SCSS
$custom: #b79df2; $custom-light: #cebaf6; $custom-dark: #000000;
JSON
{
"hex": "#b79df2",
"rgb": {
"r": 183,
"g": 157,
"b": 242
},
"hsl": {
"h": 258.353,
"s": 76.577,
"l": 78.235
},
"oklch": {
"l": 0.75099,
"c": 0.12245,
"h": 297.4
},
"luminance": 0.40592
}Semantic roles & 50–950 ramp
primary
#B79DF2
secondary
#EBF3D8
accent
#D90D9A
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085