#B579FE#B579FE
#B579FE is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.5% C 0.193 H 302.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B579FE |
|---|---|
| RGB | rgb(181, 121, 254) |
| HSL | hsl(267, 99%, 74%) |
| HSV | hsv(267, 52%, 100%) |
| CMYK | cmyk(28.7%, 52.4%, 0%, 0.4%) |
| CIE-LAB | lab(62.21, 49.01, -57.83) |
| CIE-LCH | lch(62.21, 75.80, 310.28°) |
| OKLab | oklab(69.47% 0.1038 -0.163) |
| OKLCH | oklch(69.47% 0.193 302.5) |
| XYZ | xyz(43.7788, 30.6542, 97.3572) |
| Luminance | 0.3065 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.59
Easter Purple
#C071FE
ΔE00 2.63
Light Urple
#B36FF6
ΔE00 2.65
Bright Lavender
#C760FF
ΔE00 5.73
Liliac
#C48EFD
ΔE00 5.79
Bright Lilac
#C95EFB
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B579FE #C2FE79
analogous
#797FFE #B579FE #F879FE
triadic
#B579FE #FEB579 #79FEB5
tetradic
#B579FE #FE797F #C2FE79 #79FEF8
square
#B579FE #FE797F #C2FE79 #79FEF8
split-complementary
#B579FE #FEF879 #7FFE79
monochromatic
#7202FB #933CFE #B579FE #D7B6FE #EEE1FF
Accessibility & contrast
On white
2.94
#B579FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#B579FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B579FE
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B579FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B579FE | 1.00 | 2.94 | 7.13 | 7.13 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#A792B0
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b579fe; /* rgb */ color: rgb(181, 121, 254); /* oklch */ color: oklch(69.5% 0.193 302.5);
Tailwind
colors: {
custom: {
50: '#cea1ff',
500: '#b579fe',
950: '#000000',
},
}SCSS
$custom: #b579fe; $custom-light: #cea1ff; $custom-dark: #000000;
JSON
{
"hex": "#b579fe",
"rgb": {
"r": 181,
"g": 121,
"b": 254
},
"hsl": {
"h": 267.068,
"s": 98.519,
"l": 73.529
},
"oklch": {
"l": 0.69472,
"c": 0.19319,
"h": 302.5
},
"luminance": 0.30654
}Semantic roles & 50–950 ramp
primary
#B579FE
secondary
#E7F7D4
accent
#E6007E
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86