#B588F3#B588F3
#B588F3 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.3% C 0.157 H 302.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B588F3 |
|---|---|
| RGB | rgb(181, 136, 243) |
| HSL | hsl(265, 82%, 74%) |
| HSV | hsv(265, 44%, 95%) |
| CMYK | cmyk(25.5%, 44%, 0%, 4.7%) |
| CIE-LAB | lab(64.89, 38.25, -47.54) |
| CIE-LCH | lch(64.89, 61.02, 308.82°) |
| OKLab | oklab(71.28% 0.083 -0.133) |
| OKLCH | oklch(71.28% 0.157 302) |
| XYZ | xyz(44.0343, 33.9031, 89.0007) |
| Luminance | 0.3390 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.98
Light Purple
#BF77F6
ΔE00 4.70
Baby Purple
#CA9BF7
ΔE00 5.95
Easter Purple
#C071FE
ΔE00 6.03
Light Urple
#B36FF6
ΔE00 6.28
Pastel Purple
#CAA0FF
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B588F3 #C6F388
analogous
#8891F3 #B588F3 #EB88F3
triadic
#B588F3 #F3B588 #88F3B5
tetradic
#B588F3 #F38891 #C6F388 #88F3EB
square
#B588F3 #F38891 #C6F388 #88F3EB
split-complementary
#B588F3 #F3EB88 #91F388
monochromatic
#7019E8 #9250ED #B588F3 #D8C0F9 #EEE3FC
Accessibility & contrast
On white
2.70
#B588F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#B588F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B588F3
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B588F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B588F3 | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9DF7
Deuteranopia (green-blind)
#759DF0
Tritanopia (blue-blind)
#AA9AB2
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #b588f3; /* rgb */ color: rgb(181, 136, 243); /* oklch */ color: oklch(71.3% 0.157 302.0);
Tailwind
colors: {
custom: {
50: '#cdabf7',
500: '#b588f3',
950: '#000000',
},
}SCSS
$custom: #b588f3; $custom-light: #cdabf7; $custom-dark: #000000;
JSON
{
"hex": "#b588f3",
"rgb": {
"r": 181,
"g": 136,
"b": 243
},
"hsl": {
"h": 265.234,
"s": 81.679,
"l": 74.314
},
"oklch": {
"l": 0.71281,
"c": 0.15676,
"h": 302
},
"luminance": 0.33903
}Semantic roles & 50–950 ramp
primary
#B588F3
secondary
#E8F4D7
accent
#DE0784
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85