#BD26B7#BD26B7
#BD26B7 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 57.0% C 0.235 H 330.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #BD26B7 |
|---|---|
| RGB | rgb(189, 38, 183) |
| HSL | hsl(302, 67%, 45%) |
| HSV | hsv(302, 80%, 74%) |
| CMYK | cmyk(0%, 79.9%, 3.2%, 25.9%) |
| CIE-LAB | lab(46.48, 71.97, -42.58) |
| CIE-LCH | lch(46.48, 83.63, 329.39°) |
| OKLab | oklab(57% 0.2037 -0.1178) |
| OKLCH | oklch(57% 0.235 330) |
| XYZ | xyz(30.2265, 15.6264, 46.2148) |
| Luminance | 0.1562 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 4.12
Purpley Pink
#C83CB9
ΔE00 4.56
Ugly Purple
#A442A0
ΔE00 5.44
Medium Purple
#9E43A2
ΔE00 5.95
Purply
#983FB2
ΔE00 6.55
Pinky Purple
#C94CBE
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BD26B7 #26BD2C
analogous
#7826BD #BD26B7 #BD266C
triadic
#BD26B7 #B7BD26 #26B7BD
tetradic
#BD26B7 #BD7826 #26BD2C #266CBD
square
#BD26B7 #BD7826 #26BD2C #266CBD
split-complementary
#BD26B7 #6CBD26 #26BD78
monochromatic
#571254 #8A1C86 #BD26B7 #DA46D4 #E479E0
Accessibility & contrast
On white
5.09
#BD26B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#BD26B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BD26B7
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BD26B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BD26B7 | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0361BB
Deuteranopia (green-blind)
#5775B4
Tritanopia (blue-blind)
#C43E6F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #bd26b7; /* rgb */ color: rgb(189, 38, 183); /* oklch */ color: oklch(57.0% 0.235 330.0);
Tailwind
colors: {
custom: {
50: '#d574cd',
500: '#bd26b7',
950: '#000000',
},
}SCSS
$custom: #bd26b7; $custom-light: #d574cd; $custom-dark: #000000;
JSON
{
"hex": "#bd26b7",
"rgb": {
"r": 189,
"g": 38,
"b": 183
},
"hsl": {
"h": 302.384,
"s": 66.52,
"l": 44.51
},
"oklch": {
"l": 0.56999,
"c": 0.23534,
"h": 330
},
"luminance": 0.15624
}Semantic roles & 50–950 ramp
primary
#BD26B7
secondary
#73CC76
accent
#E9453E
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82