#B57CE2#B57CE2
#B57CE2 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.4% C 0.155 H 308.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #B57CE2 |
|---|---|
| RGB | rgb(181, 124, 226) |
| HSL | hsl(274, 64%, 69%) |
| HSV | hsv(274, 45%, 89%) |
| CMYK | cmyk(19.9%, 45.1%, 0%, 11.4%) |
| CIE-LAB | lab(61.42, 40.95, -43.59) |
| CIE-LCH | lch(61.42, 59.81, 313.21°) |
| OKLab | oklab(68.42% 0.0969 -0.1215) |
| OKLCH | oklch(68.42% 0.155 308.6) |
| XYZ | xyz(39.9885, 29.7306, 75.5687) |
| Luminance | 0.2973 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.49
Light Urple
#B36FF6
ΔE00 4.81
Easter Purple
#C071FE
ΔE00 5.04
Liliac
#C48EFD
ΔE00 5.84
Wisteria
#A87DC2
ΔE00 6.04
Pale Purple
#B790D4
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B57CE2 #A9E27C
analogous
#827CE2 #B57CE2 #E27CDC
triadic
#B57CE2 #E2B57C #7CE2B5
tetradic
#B57CE2 #E2827C #A9E27C #7CDCE2
square
#B57CE2 #E2827C #A9E27C #7CDCE2
split-complementary
#B57CE2 #DCE27C #7CE282
monochromatic
#7A29BA #994AD7 #B57CE2 #D1AEED #EEE0F8
Accessibility & contrast
On white
3.02
#B57CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.95
#B57CE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B57CE2
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B57CE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B57CE2 | 1.00 | 3.02 | 6.95 | 6.95 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6492E6
Deuteranopia (green-blind)
#7295DF
Tritanopia (blue-blind)
#AF8CA4
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b57ce2; /* rgb */ color: rgb(181, 124, 226); /* oklch */ color: oklch(68.4% 0.155 308.6);
Tailwind
colors: {
custom: {
50: '#cda3eb',
500: '#b57ce2',
950: '#000000',
},
}SCSS
$custom: #b57ce2; $custom-light: #cda3eb; $custom-dark: #000000;
JSON
{
"hex": "#b57ce2",
"rgb": {
"r": 181,
"g": 124,
"b": 226
},
"hsl": {
"h": 273.529,
"s": 63.75,
"l": 68.627
},
"oklch": {
"l": 0.68417,
"c": 0.1554,
"h": 308.6
},
"luminance": 0.2973
}Semantic roles & 50–950 ramp
primary
#B57CE2
secondary
#DBECCE
accent
#CC1A68
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84