#B54CE3#B54CE3
#B54CE3 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.8% C 0.228 H 313.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B54CE3 |
|---|---|
| RGB | rgb(181, 76, 227) |
| HSL | hsl(282, 73%, 59%) |
| HSV | hsv(282, 67%, 89%) |
| CMYK | cmyk(20.3%, 66.5%, 0%, 11%) |
| CIE-LAB | lab(52.44, 65.08, -58.43) |
| CIE-LCH | lch(52.44, 87.46, 318.08°) |
| OKLab | oklab(61.85% 0.1574 -0.1645) |
| OKLCH | oklch(61.85% 0.228 313.7) |
| XYZ | xyz(35.5033, 20.5398, 74.7525) |
| Luminance | 0.2054 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.00
Mediumorchid
#BA55D3
ΔE00 3.50
Lighter Purple
#A55AF4
ΔE00 4.73
Hot Purple
#CB00F5
ΔE00 5.45
Neon Purple
#BC13FE
ΔE00 5.82
Purple Pink
#D725DE
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B54CE3 #7AE34C
analogous
#6A4CE3 #B54CE3 #E34CC6
triadic
#B54CE3 #E3B54C #4CE3B5
tetradic
#B54CE3 #E36A4C #7AE34C #4CC6E3
square
#B54CE3 #E36A4C #7AE34C #4CC6E3
split-complementary
#B54CE3 #C6E34C #4CE36A
monochromatic
#74189C #9B21D1 #B54CE3 #CB81EB #E1B6F4
Accessibility & contrast
On white
4.11
#B54CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#B54CE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B54CE3
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B54CE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B54CE3 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#4380E0
Tritanopia (blue-blind)
#B16A92
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #b54ce3; /* rgb */ color: rgb(181, 76, 227); /* oklch */ color: oklch(61.8% 0.228 313.7);
Tailwind
colors: {
custom: {
50: '#cf85ec',
500: '#b54ce3',
950: '#000000',
},
}SCSS
$custom: #b54ce3; $custom-light: #cf85ec; $custom-dark: #000000;
JSON
{
"hex": "#b54ce3",
"rgb": {
"r": 181,
"g": 76,
"b": 227
},
"hsl": {
"h": 281.722,
"s": 72.947,
"l": 59.412
},
"oklch": {
"l": 0.61846,
"c": 0.22772,
"h": 313.7
},
"luminance": 0.20539
}Semantic roles & 50–950 ramp
primary
#B54CE3
secondary
#BAE3A8
accent
#F03870
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84