#B578EF#B578EF
#B578EF is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.5% C 0.177 H 305.9°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B578EF |
|---|---|
| RGB | rgb(181, 120, 239) |
| HSL | hsl(271, 79%, 70%) |
| HSV | hsv(271, 50%, 94%) |
| CMYK | cmyk(24.3%, 49.8%, 0%, 6.3%) |
| CIE-LAB | lab(61.21, 46.06, -51.15) |
| CIE-LCH | lch(61.21, 68.83, 312.00°) |
| OKLab | oklab(68.47% 0.1039 -0.1434) |
| OKLCH | oklch(68.47% 0.177 305.9) |
| XYZ | xyz(41.3493, 29.4890, 85.1582) |
| Luminance | 0.2949 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.85
Light Urple
#B36FF6
ΔE00 2.52
Easter Purple
#C071FE
ΔE00 2.92
Bright Lavender
#C760FF
ΔE00 5.66
Liliac
#C48EFD
ΔE00 5.93
Bright Lilac
#C95EFB
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B578EF #B2EF78
analogous
#7978EF #B578EF #EF78EE
triadic
#B578EF #EFB578 #78EFB5
tetradic
#B578EF #EF7978 #B2EF78 #78EEEF
square
#B578EF #EF7978 #B2EF78 #78EEEF
split-complementary
#B578EF #EEEF78 #78EF79
monochromatic
#7919D4 #9741E9 #B578EF #D3AFF5 #F0E4FC
Accessibility & contrast
On white
3.04
#B578EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#B578EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B578EF
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B578EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B578EF | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#6794EC
Tritanopia (blue-blind)
#AC8DA9
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b578ef; /* rgb */ color: rgb(181, 120, 239); /* oklch */ color: oklch(68.5% 0.177 305.9);
Tailwind
colors: {
custom: {
50: '#cea0f5',
500: '#b578ef',
950: '#000000',
},
}SCSS
$custom: #b578ef; $custom-light: #cea0f5; $custom-dark: #000000;
JSON
{
"hex": "#b578ef",
"rgb": {
"r": 181,
"g": 120,
"b": 239
},
"hsl": {
"h": 270.756,
"s": 78.808,
"l": 70.392
},
"oklch": {
"l": 0.68471,
"c": 0.17712,
"h": 305.9
},
"luminance": 0.29489
}Semantic roles & 50–950 ramp
primary
#B578EF
secondary
#E1F2D1
accent
#DB0A70
background
#FCFAFF
surface
#F9F3FE
border
#D2CDD6
text
#140F17
muted
#827F85