#B979EF#B979EF
#B979EF is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.0% C 0.177 H 307.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #B979EF |
|---|---|
| RGB | rgb(185, 121, 239) |
| HSL | hsl(273, 79%, 71%) |
| HSV | hsv(273, 49%, 94%) |
| CMYK | cmyk(22.6%, 49.4%, 0%, 6.3%) |
| CIE-LAB | lab(61.84, 46.57, -50.11) |
| CIE-LCH | lch(61.84, 68.41, 312.90°) |
| OKLab | oklab(69.04% 0.1074 -0.1403) |
| OKLCH | oklch(69.04% 0.177 307.4) |
| XYZ | xyz(42.4218, 30.2215, 85.2431) |
| Luminance | 0.3022 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.36
Easter Purple
#C071FE
ΔE00 2.85
Light Urple
#B36FF6
ΔE00 3.07
Liliac
#C48EFD
ΔE00 5.48
Bright Lavender
#C760FF
ΔE00 5.63
Bright Lilac
#C95EFB
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B979EF #AFEF79
analogous
#7E79EF #B979EF #EF79EA
triadic
#B979EF #EFB979 #79EFB9
tetradic
#B979EF #EF7E79 #AFEF79 #79EAEF
square
#B979EF #EF7E79 #AFEF79 #79EAEF
split-complementary
#B979EF #EAEF79 #79EF7E
monochromatic
#7F19D4 #9C42E8 #B979EF #D6B0F6 #F1E4FC
Accessibility & contrast
On white
2.98
#B979EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#B979EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B979EF
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B979EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B979EF | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5893F3
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#B18DA9
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b979ef; /* rgb */ color: rgb(185, 121, 239); /* oklch */ color: oklch(69.0% 0.177 307.4);
Tailwind
colors: {
custom: {
50: '#d0a1f5',
500: '#b979ef',
950: '#000000',
},
}SCSS
$custom: #b979ef; $custom-light: #d0a1f5; $custom-dark: #000000;
JSON
{
"hex": "#b979ef",
"rgb": {
"r": 185,
"g": 121,
"b": 239
},
"hsl": {
"h": 272.542,
"s": 78.667,
"l": 70.588
},
"oklch": {
"l": 0.69038,
"c": 0.17672,
"h": 307.4
},
"luminance": 0.30221
}Semantic roles & 50–950 ramp
primary
#B979EF
secondary
#E1F2D2
accent
#DB0B6A
background
#FDFAFF
surface
#FAF3FE
border
#D3CDD6
text
#140F17
muted
#837F85