#B541CF#B541CF
#B541CF is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.4% C 0.223 H 319.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B541CF |
|---|---|
| RGB | rgb(181, 65, 207) |
| HSL | hsl(289, 60%, 53%) |
| HSV | hsv(289, 69%, 81%) |
| CMYK | cmyk(12.6%, 68.6%, 0%, 18.8%) |
| CIE-LAB | lab(49.63, 65.70, -51.56) |
| CIE-LCH | lch(49.63, 83.51, 321.88°) |
| OKLab | oklab(59.44% 0.1702 -0.1443) |
| OKLCH | oklch(59.44% 0.223 319.7) |
| XYZ | xyz(32.2074, 18.1109, 60.8186) |
| Luminance | 0.1811 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.34
Purple Pink
#D725DE
ΔE00 5.44
Lightish Purple
#A552E6
ΔE00 5.68
Hot Purple
#CB00F5
ΔE00 5.75
Purpley Pink
#C83CB9
ΔE00 5.82
Pinky Purple
#C94CBE
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B541CF #5BCF41
analogous
#6E41CF #B541CF #CF41A2
triadic
#B541CF #CFB541 #41CFB5
tetradic
#B541CF #CF6E41 #5BCF41 #41A2CF
square
#B541CF #CF6E41 #5BCF41 #41A2CF
split-complementary
#B541CF #A2CF41 #41CF6E
monochromatic
#671E77 #912BA8 #B541CF #C872DB #DBA3E8
Accessibility & contrast
On white
4.54
#B541CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#B541CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B541CF
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B541CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B541CF | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#4C7ACC
Tritanopia (blue-blind)
#B55B83
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #b541cf; /* rgb */ color: rgb(181, 65, 207); /* oklch */ color: oklch(59.4% 0.223 319.7);
Tailwind
colors: {
custom: {
50: '#cf7fde',
500: '#b541cf',
950: '#000000',
},
}SCSS
$custom: #b541cf; $custom-light: #cf7fde; $custom-dark: #000000;
JSON
{
"hex": "#b541cf",
"rgb": {
"r": 181,
"g": 65,
"b": 207
},
"hsl": {
"h": 289.014,
"s": 59.664,
"l": 53.333
},
"oklch": {
"l": 0.59444,
"c": 0.22315,
"h": 319.7
},
"luminance": 0.18109
}Semantic roles & 50–950 ramp
primary
#B541CF
secondary
#A3D497
accent
#E34562
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83