#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
RGBrgb(189, 38, 183)
HSLhsl(302, 67%, 45%)
HSVhsv(302, 80%, 74%)
CMYKcmyk(0%, 79.9%, 3.2%, 25.9%)
CIE-LABlab(46.48, 71.97, -42.58)
CIE-LCHlch(46.48, 83.63, 329.39°)
OKLaboklab(57% 0.2037 -0.1178)
OKLCHoklch(57% 0.235 330)
XYZxyz(30.2265, 15.6264, 46.2148)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

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
##BD26B71.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.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

Preview Lab

Preview with #BD26B7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BD26B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva