#BD23AF#BD23AF

#BD23AF is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.4% C 0.232 H 332.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BD23AF
RGBrgb(189, 35, 175)
HSLhsl(305, 69%, 44%)
HSVhsv(305, 81%, 74%)
CMYKcmyk(0%, 81.5%, 7.4%, 25.9%)
CIE-LABlab(45.80, 71.50, -38.95)
CIE-LCHlch(45.80, 81.42, 331.42°)
OKLaboklab(56.37% 0.2059 -0.1072)
OKLCHoklch(56.37% 0.232 332.5)
XYZxyz(29.3253, 15.1186, 41.9228)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD23AF #23BD31
analogous
#7E23BD #BD23AF #BD2362
triadic
#BD23AF #AFBD23 #23AFBD
tetradic
#BD23AF #BD7E23 #23BD31 #2362BD
square
#BD23AF #BD7E23 #23BD31 #2362BD
split-complementary
#BD23AF #62BD23 #23BD7E
monochromatic
#56104F #89197F #BD23AF #DC41CE #E575DB

Accessibility & contrast

On white

5.22
#BD23AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BD23AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD23AF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD23AF#FFFFFF#000000##FFFFFF
##BD23AF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155FB3
Deuteranopia (green-blind)
#5B74AC
Tritanopia (blue-blind)
#C5386A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bd23af;
/* rgb */ color: rgb(189, 35, 175);
/* oklch */ color: oklch(56.4% 0.232 332.5);
Tailwind
colors: {
  custom: {
    50: '#d573c7',
    500: '#bd23af',
    950: '#000000',
  },
}
SCSS
$custom: #bd23af;
$custom-light: #d573c7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd23af",
  "rgb": {
    "r": 189,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 305.455,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56371,
    "c": 0.23215,
    "h": 332.5
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

primary
#BD23AF
secondary
#6FCD78
accent
#EC4C3C
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BD23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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