#B589F0#B589F0
#B589F0 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.3% C 0.151 H 302.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B589F0 |
|---|---|
| RGB | rgb(181, 137, 240) |
| HSL | hsl(266, 77%, 74%) |
| HSV | hsv(266, 43%, 94%) |
| CMYK | cmyk(24.6%, 42.9%, 0%, 5.9%) |
| CIE-LAB | lab(64.97, 36.99, -45.76) |
| CIE-LCH | lch(64.97, 58.84, 308.95°) |
| OKLab | oklab(71.3% 0.0812 -0.1278) |
| OKLCH | oklch(71.3% 0.151 302.4) |
| XYZ | xyz(43.7265, 34.0063, 86.6814) |
| Luminance | 0.3401 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.01
Light Purple
#BF77F6
ΔE00 5.01
Baby Purple
#CA9BF7
ΔE00 5.63
Pastel Purple
#CAA0FF
ΔE00 6.36
Easter Purple
#C071FE
ΔE00 6.44
Pale Purple
#B790D4
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B589F0 #C4F089
analogous
#8991F0 #B589F0 #E989F0
triadic
#B589F0 #F0B589 #89F0B5
tetradic
#B589F0 #F08991 #C4F089 #89F0E9
square
#B589F0 #F08991 #C4F089 #89F0E9
split-complementary
#B589F0 #F0E989 #91F089
monochromatic
#711DE2 #9353E9 #B589F0 #D7BFF7 #EEE4FC
Accessibility & contrast
On white
2.69
#B589F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#B589F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B589F0
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B589F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B589F0 | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9DF4
Deuteranopia (green-blind)
#789DED
Tritanopia (blue-blind)
#AB9AB1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b589f0; /* rgb */ color: rgb(181, 137, 240); /* oklch */ color: oklch(71.3% 0.151 302.4);
Tailwind
colors: {
custom: {
50: '#cdacf5',
500: '#b589f0',
950: '#000000',
},
}SCSS
$custom: #b589f0; $custom-light: #cdacf5; $custom-dark: #000000;
JSON
{
"hex": "#b589f0",
"rgb": {
"r": 181,
"g": 137,
"b": 240
},
"hsl": {
"h": 265.631,
"s": 77.444,
"l": 73.922
},
"oklch": {
"l": 0.71296,
"c": 0.15143,
"h": 302.4
},
"luminance": 0.34006
}Semantic roles & 50–950 ramp
primary
#B589F0
secondary
#E8F3D8
accent
#DA0C82
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#141017
muted
#827F85