#B54FDA#B54FDA
#B54FDA is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.6% C 0.215 H 315.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #B54FDA |
|---|---|
| RGB | rgb(181, 79, 218) |
| HSL | hsl(284, 65%, 58%) |
| HSV | hsv(284, 64%, 85%) |
| CMYK | cmyk(17%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(52.37, 61.97, -53.44) |
| CIE-LCH | lch(52.37, 81.83, 319.22°) |
| OKLab | oklab(61.62% 0.1545 -0.1499) |
| OKLCH | oklch(61.62% 0.215 315.9) |
| XYZ | xyz(34.5050, 20.4789, 68.4513) |
| Luminance | 0.2048 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.25
Lightish Purple
#A552E6
ΔE00 3.81
Lighter Purple
#A55AF4
ΔE00 5.65
Purple Pink
#D725DE
ΔE00 5.84
Amethyst
#9B5FC0
ΔE00 6.10
Pinkish Purple
#D648D7
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B54FDA #74DA4F
analogous
#6F4FDA #B54FDA #DA4FB9
triadic
#B54FDA #DAB54F #4FDAB5
tetradic
#B54FDA #DA6F4F #74DA4F #4FB9DA
square
#B54FDA #DA6F4F #74DA4F #4FB9DA
split-complementary
#B54FDA #B9DA4F #4FDA6F
monochromatic
#721E90 #9A29C3 #B54FDA #CA82E5 #E0B4EF
Accessibility & contrast
On white
4.12
#B54FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#B54FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B54FDA
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B54FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B54FDA | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1877DE
Deuteranopia (green-blind)
#4F80D7
Tritanopia (blue-blind)
#B3698E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #b54fda; /* rgb */ color: rgb(181, 79, 218); /* oklch */ color: oklch(61.6% 0.215 315.9);
Tailwind
colors: {
custom: {
50: '#cf87e6',
500: '#b54fda',
950: '#000000',
},
}SCSS
$custom: #b54fda; $custom-light: #cf87e6; $custom-dark: #000000;
JSON
{
"hex": "#b54fda",
"rgb": {
"r": 181,
"g": 79,
"b": 218
},
"hsl": {
"h": 284.029,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.61624,
"c": 0.2153,
"h": 315.9
},
"luminance": 0.20478
}Semantic roles & 50–950 ramp
primary
#B54FDA
secondary
#B5DEA7
accent
#E8406C
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84