#B54FC2#B54FC2
#B54FC2 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.2% C 0.193 H 323.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B54FC2 |
|---|---|
| RGB | rgb(181, 79, 194) |
| HSL | hsl(293, 49%, 54%) |
| HSV | hsv(293, 59%, 76%) |
| CMYK | cmyk(6.7%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(51.05, 57.33, -41.81) |
| CIE-LCH | lch(51.05, 70.96, 323.89°) |
| OKLab | oklab(60.24% 0.1541 -0.116) |
| OKLCH | oklch(60.24% 0.193 323) |
| XYZ | xyz(31.5887, 19.3124, 53.0923) |
| Luminance | 0.1931 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 3.20
Pinky Purple
#C94CBE
ΔE00 4.19
Purpley Pink
#C83CB9
ΔE00 4.44
Amethyst
#9B5FC0
ΔE00 5.71
Pinkish Purple
#D648D7
ΔE00 6.01
Purple Pink
#D725DE
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B54FC2 #5CC24F
analogous
#7B4FC2 #B54FC2 #C24F95
triadic
#B54FC2 #C2B54F #4FC2B5
tetradic
#B54FC2 #C27B4F #5CC24F #4F95C2
square
#B54FC2 #C27B4F #5CC24F #4F95C2
split-complementary
#B54FC2 #95C24F #4FC27B
monochromatic
#682770 #92379D #B54FC2 #C87CD2 #DBAAE2
Accessibility & contrast
On white
4.32
#B54FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#B54FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B54FC2
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B54FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B54FC2 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A72C6
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#B86081
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #b54fc2; /* rgb */ color: rgb(181, 79, 194); /* oklch */ color: oklch(60.2% 0.193 323.0);
Tailwind
colors: {
custom: {
50: '#ce86d5',
500: '#b54fc2',
950: '#000000',
},
}SCSS
$custom: #b54fc2; $custom-light: #ce86d5; $custom-dark: #000000;
JSON
{
"hex": "#b54fc2",
"rgb": {
"r": 181,
"g": 79,
"b": 194
},
"hsl": {
"h": 293.217,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.60237,
"c": 0.19286,
"h": 323
},
"luminance": 0.19311
}Semantic roles & 50–950 ramp
primary
#B54FC2
secondary
#A3CF9E
accent
#D8505F
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83