#BD23B9#BD23B9

#BD23B9 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.9% C 0.239 H 329.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BD23B9
RGBrgb(189, 35, 185)
HSLhsl(302, 69%, 44%)
HSVhsv(302, 81%, 74%)
CMYKcmyk(0%, 81.5%, 2.1%, 25.9%)
CIE-LABlab(46.35, 72.99, -43.96)
CIE-LCHlch(46.35, 85.21, 328.94°)
OKLaboklab(56.94% 0.2057 -0.1218)
OKLCHoklch(56.94% 0.239 329.4)
XYZxyz(30.3441, 15.5261, 47.2882)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD23B9 #23BD27
analogous
#7423BD #BD23B9 #BD236C
triadic
#BD23B9 #B9BD23 #23B9BD
tetradic
#BD23B9 #BD7423 #23BD27 #236CBD
square
#BD23B9 #BD7423 #23BD27 #236CBD
split-complementary
#BD23B9 #6CBD23 #23BD74
monochromatic
#561054 #891986 #BD23B9 #DC41D8 #E575E3

Accessibility & contrast

On white

5.12
#BD23B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BD23B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD23B9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD23B9#FFFFFF#000000##FFFFFF
##BD23B91.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#5575B5
Tritanopia (blue-blind)
#C43D70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd23b9;
/* rgb */ color: rgb(189, 35, 185);
/* oklch */ color: oklch(56.9% 0.239 329.4);
Tailwind
colors: {
  custom: {
    50: '#d573ce',
    500: '#bd23b9',
    950: '#000000',
  },
}
SCSS
$custom: #bd23b9;
$custom-light: #d573ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bd23b9",
  "rgb": {
    "r": 189,
    "g": 35,
    "b": 185
  },
  "hsl": {
    "h": 301.558,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5694,
    "c": 0.23908,
    "h": 329.4
  },
  "luminance": 0.15524
}

Semantic roles & 50–950 ramp

primary
#BD23B9
secondary
#6FCD72
accent
#EC413C
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BD23B9

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

Preview Lab → · Contrast checker → · Palette generator →

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