#B574F8#B574F8
#B574F8 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.4% C 0.194 H 304.5°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B574F8 |
|---|---|
| RGB | rgb(181, 116, 248) |
| HSL | hsl(270, 90%, 71%) |
| HSV | hsv(270, 53%, 97%) |
| CMYK | cmyk(27%, 53.2%, 0%, 2.7%) |
| CIE-LAB | lab(60.86, 50.26, -56.68) |
| CIE-LCH | lch(60.86, 75.75, 311.57°) |
| OKLab | oklab(68.37% 0.1098 -0.1596) |
| OKLCH | oklch(68.37% 0.194 304.5) |
| XYZ | xyz(42.2410, 29.0920, 92.1787) |
| Luminance | 0.2909 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.27
Easter Purple
#C071FE
ΔE00 1.98
Light Purple
#BF77F6
ΔE00 2.16
Bright Lavender
#C760FF
ΔE00 4.68
Bright Lilac
#C95EFB
ΔE00 5.19
Liliac
#C48EFD
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B574F8 #B7F874
analogous
#7475F8 #B574F8 #F774F8
triadic
#B574F8 #F8B574 #74F8B5
tetradic
#B574F8 #F87475 #B7F874 #74F8F7
square
#B574F8 #F87475 #B7F874 #74F8F7
split-complementary
#B574F8 #F8F774 #75F874
monochromatic
#770CE6 #963AF5 #B574F8 #D4AEFB #EFE2FE
Accessibility & contrast
On white
3.08
#B574F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#B574F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B574F8
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B574F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B574F8 | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4691FC
Deuteranopia (green-blind)
#5C93F5
Tritanopia (blue-blind)
#A98DAB
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b574f8; /* rgb */ color: rgb(181, 116, 248); /* oklch */ color: oklch(68.4% 0.194 304.5);
Tailwind
colors: {
custom: {
50: '#ce9efb',
500: '#b574f8',
950: '#000000',
},
}SCSS
$custom: #b574f8; $custom-light: #ce9efb; $custom-dark: #000000;
JSON
{
"hex": "#b574f8",
"rgb": {
"r": 181,
"g": 116,
"b": 248
},
"hsl": {
"h": 269.545,
"s": 90.411,
"l": 71.373
},
"oklch": {
"l": 0.68368,
"c": 0.19368,
"h": 304.5
},
"luminance": 0.29092
}Semantic roles & 50–950 ramp
primary
#B574F8
secondary
#E4F5D3
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85