#B79AFE#B79AFE
#B79AFE is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.1% C 0.143 H 296.1°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B79AFE |
|---|---|
| RGB | rgb(183, 154, 254) |
| HSL | hsl(257, 98%, 80%) |
| HSV | hsv(257, 39%, 100%) |
| CMYK | cmyk(28%, 39.4%, 0%, 0.4%) |
| CIE-LAB | lab(69.71, 31.41, -45.95) |
| CIE-LCH | lch(69.71, 55.66, 304.35°) |
| OKLab | oklab(75.13% 0.063 -0.1284) |
| OKLCH | oklch(75.13% 0.143 296.1) |
| XYZ | xyz(48.9691, 40.3337, 98.9520) |
| Luminance | 0.4033 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 4.00
Liliac
#C48EFD
ΔE00 4.59
Baby Purple
#CA9BF7
ΔE00 4.76
Lilac (survey)
#CEA2FD
ΔE00 5.09
Lavender (survey)
#C79FEF
ΔE00 5.51
Lavender
#B39DDB
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B79AFE #E1FE9A
analogous
#9AAFFE #B79AFE #E99AFE
triadic
#B79AFE #FEB79A #9AFEB7
tetradic
#B79AFE #FE9AAF #E1FE9A #9AFEE9
square
#B79AFE #FE9AAF #E1FE9A #9AFEE9
split-complementary
#B79AFE #FEE99A #AFFE9A
monochromatic
#6121FD #8C5DFD #B79AFE #E2D7FF #E9E1FF
Accessibility & contrast
On white
2.32
#B79AFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#B79AFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B79AFE
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B79AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B79AFE | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#83A9FB
Tritanopia (blue-blind)
#A8ACC0
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b79afe; /* rgb */ color: rgb(183, 154, 254); /* oklch */ color: oklch(75.1% 0.143 296.1);
Tailwind
colors: {
custom: {
50: '#ceb8ff',
500: '#b79afe',
950: '#000000',
},
}SCSS
$custom: #b79afe; $custom-light: #ceb8ff; $custom-dark: #000000;
JSON
{
"hex": "#b79afe",
"rgb": {
"r": 183,
"g": 154,
"b": 254
},
"hsl": {
"h": 257.4,
"s": 98.039,
"l": 80
},
"oklch": {
"l": 0.75133,
"c": 0.14298,
"h": 296.1
},
"luminance": 0.40334
}Semantic roles & 50–950 ramp
primary
#B79AFE
secondary
#EDF7D4
accent
#E600A3
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086