#BD23A8#BD23A8

#BD23A8 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 56.0% C 0.227 H 334.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BD23A8
RGBrgb(189, 35, 168)
HSLhsl(308, 69%, 44%)
HSVhsv(308, 81%, 74%)
CMYKcmyk(0%, 81.5%, 11.1%, 25.9%)
CIE-LABlab(45.43, 70.49, -35.39)
CIE-LCHlch(45.43, 78.87, 333.34°)
OKLaboklab(55.99% 0.2057 -0.0969)
OKLCHoklch(55.99% 0.227 334.8)
XYZxyz(28.6556, 14.8507, 38.3955)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD23A8 #23BD38
analogous
#8523BD #BD23A8 #BD235B
triadic
#BD23A8 #A8BD23 #23A8BD
tetradic
#BD23A8 #BD8523 #23BD38 #235BBD
square
#BD23A8 #BD8523 #23BD38 #235BBD
split-complementary
#BD23A8 #5BBD23 #23BD85
monochromatic
#56104C #89197A #BD23A8 #DC41C7 #E575D6

Accessibility & contrast

On white

5.29
#BD23A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#BD23A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD23A8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD23A8#FFFFFF#000000##FFFFFF
##BD23A81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215DAB
Deuteranopia (green-blind)
#5E73A5
Tritanopia (blue-blind)
#C63366
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bd23a8;
/* rgb */ color: rgb(189, 35, 168);
/* oklch */ color: oklch(56.0% 0.227 334.8);
Tailwind
colors: {
  custom: {
    50: '#d572c2',
    500: '#bd23a8',
    950: '#000000',
  },
}
SCSS
$custom: #bd23a8;
$custom-light: #d572c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd23a8",
  "rgb": {
    "r": 189,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 308.182,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55991,
    "c": 0.22743,
    "h": 334.8
  },
  "luminance": 0.14848
}

Semantic roles & 50–950 ramp

primary
#BD23A8
secondary
#6FCD7C
accent
#EC543C
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BD23A8

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

Preview Lab → · Contrast checker → · Palette generator →

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