#B979F9#B979F9
#B979F9 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.6% C 0.188 H 305.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B979F9 |
|---|---|
| RGB | rgb(185, 121, 249) |
| HSL | hsl(270, 91%, 73%) |
| HSV | hsv(270, 51%, 98%) |
| CMYK | cmyk(25.7%, 51.4%, 0%, 2.4%) |
| CIE-LAB | lab(62.36, 48.84, -54.81) |
| CIE-LCH | lch(62.36, 73.42, 311.70°) |
| OKLab | oklab(69.59% 0.1083 -0.154) |
| OKLCH | oklch(69.59% 0.188 305.1) |
| XYZ | xyz(43.9402, 30.8288, 93.2399) |
| Luminance | 0.3083 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.43
Easter Purple
#C071FE
ΔE00 2.12
Light Urple
#B36FF6
ΔE00 2.64
Liliac
#C48EFD
ΔE00 5.36
Bright Lavender
#C760FF
ΔE00 5.37
Bright Lilac
#C95EFB
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B979F9 #B9F979
analogous
#7979F9 #B979F9 #F979F9
triadic
#B979F9 #F9B979 #79F9B9
tetradic
#B979F9 #F97979 #B9F979 #79F9F9
square
#B979F9 #F97979 #B9F979 #79F9F9
split-complementary
#B979F9 #F9F979 #79F979
monochromatic
#7C0BED #9A3EF6 #B979F9 #D8B4FC #F0E2FE
Accessibility & contrast
On white
2.93
#B979F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#B979F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B979F9
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B979F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B979F9 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5095FD
Deuteranopia (green-blind)
#6497F6
Tritanopia (blue-blind)
#AE90AE
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b979f9; /* rgb */ color: rgb(185, 121, 249); /* oklch */ color: oklch(69.6% 0.188 305.1);
Tailwind
colors: {
custom: {
50: '#d1a1fc',
500: '#b979f9',
950: '#000000',
},
}SCSS
$custom: #b979f9; $custom-light: #d1a1fc; $custom-dark: #000000;
JSON
{
"hex": "#b979f9",
"rgb": {
"r": 185,
"g": 121,
"b": 249
},
"hsl": {
"h": 270,
"s": 91.429,
"l": 72.549
},
"oklch": {
"l": 0.6959,
"c": 0.18829,
"h": 305.1
},
"luminance": 0.30829
}Semantic roles & 50–950 ramp
primary
#B979F9
secondary
#E6F6D5
accent
#E60073
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85