#B574F5#B574F5
#B574F5 is a light, vivid violet. Relative luminance 0.289; OKLCH L 68.2% C 0.190 H 305.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B574F5 |
|---|---|
| RGB | rgb(181, 116, 245) |
| HSL | hsl(270, 87%, 71%) |
| HSV | hsv(270, 53%, 96%) |
| CMYK | cmyk(26.1%, 52.7%, 0%, 3.9%) |
| CIE-LAB | lab(60.70, 49.57, -55.28) |
| CIE-LCH | lch(60.70, 74.25, 311.88°) |
| OKLab | oklab(68.19% 0.1096 -0.1555) |
| OKLCH | oklch(68.19% 0.19 305.2) |
| XYZ | xyz(41.7794, 28.9074, 89.7472) |
| Luminance | 0.2891 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.28
Light Purple
#BF77F6
ΔE00 2.01
Easter Purple
#C071FE
ΔE00 2.09
Bright Lavender
#C760FF
ΔE00 4.70
Bright Lilac
#C95EFB
ΔE00 5.15
Liliac
#C48EFD
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B574F5 #B4F574
analogous
#7474F5 #B574F5 #F574F4
triadic
#B574F5 #F5B574 #74F5B5
tetradic
#B574F5 #F57474 #B4F574 #74F4F5
square
#B574F5 #F57474 #B4F574 #74F4F5
split-complementary
#B574F5 #F4F574 #74F574
monochromatic
#7810DF #973BF1 #B574F5 #D3ADF9 #F0E2FD
Accessibility & contrast
On white
3.10
#B574F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#B574F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B574F5
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B574F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B574F5 | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4990F9
Deuteranopia (green-blind)
#5E93F2
Tritanopia (blue-blind)
#AA8CAA
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #b574f5; /* rgb */ color: rgb(181, 116, 245); /* oklch */ color: oklch(68.2% 0.190 305.2);
Tailwind
colors: {
custom: {
50: '#ce9ef9',
500: '#b574f5',
950: '#000000',
},
}SCSS
$custom: #b574f5; $custom-light: #ce9ef9; $custom-dark: #000000;
JSON
{
"hex": "#b574f5",
"rgb": {
"r": 181,
"g": 116,
"b": 245
},
"hsl": {
"h": 270.233,
"s": 86.577,
"l": 70.784
},
"oklch": {
"l": 0.68195,
"c": 0.19022,
"h": 305.2
},
"luminance": 0.28907
}Semantic roles & 50–950 ramp
primary
#B574F5
secondary
#E2F4D1
accent
#E30272
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85