#BD23A9#BD23A9

#BD23A9 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.228 H 334.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BD23A9
RGBrgb(189, 35, 169)
HSLhsl(308, 69%, 44%)
HSVhsv(308, 81%, 74%)
CMYKcmyk(0%, 81.5%, 10.6%, 25.9%)
CIE-LABlab(45.48, 70.63, -35.90)
CIE-LCHlch(45.48, 79.23, 333.06°)
OKLaboklab(56.04% 0.2058 -0.0984)
OKLCHoklch(56.04% 0.228 334.4)
XYZxyz(28.7491, 14.8881, 38.8880)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD23A9 #23BD37
analogous
#8423BD #BD23A9 #BD235C
triadic
#BD23A9 #A9BD23 #23A9BD
tetradic
#BD23A9 #BD8423 #23BD37 #235CBD
square
#BD23A9 #BD8423 #23BD37 #235CBD
split-complementary
#BD23A9 #5CBD23 #23BD84
monochromatic
#56104D #89197B #BD23A9 #DC41C8 #E575D7

Accessibility & contrast

On white

5.28
#BD23A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BD23A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD23A9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD23A9#FFFFFF#000000##FFFFFF
##BD23A91.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAC
Deuteranopia (green-blind)
#5E73A6
Tritanopia (blue-blind)
#C63467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bd23a9;
/* rgb */ color: rgb(189, 35, 169);
/* oklch */ color: oklch(56.0% 0.228 334.4);
Tailwind
colors: {
  custom: {
    50: '#d572c3',
    500: '#bd23a9',
    950: '#000000',
  },
}
SCSS
$custom: #bd23a9;
$custom-light: #d572c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd23a9",
  "rgb": {
    "r": 189,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 307.792,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56044,
    "c": 0.22809,
    "h": 334.4
  },
  "luminance": 0.14885
}

Semantic roles & 50–950 ramp

primary
#BD23A9
secondary
#6FCD7B
accent
#EC533C
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BD23A9

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

Preview Lab → · Contrast checker → · Palette generator →

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