#BD23B1#BD23B1

#BD23B1 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.5% C 0.234 H 331.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BD23B1
RGBrgb(189, 35, 177)
HSLhsl(305, 69%, 44%)
HSVhsv(305, 81%, 74%)
CMYKcmyk(0%, 81.5%, 6.3%, 25.9%)
CIE-LABlab(45.90, 71.79, -39.96)
CIE-LCHlch(45.90, 82.17, 330.90°)
OKLaboklab(56.48% 0.2059 -0.1102)
OKLCHoklch(56.48% 0.234 331.8)
XYZxyz(29.5232, 15.1977, 42.9650)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD23B1 #23BD2F
analogous
#7C23BD #BD23B1 #BD2364
triadic
#BD23B1 #B1BD23 #23B1BD
tetradic
#BD23B1 #BD7C23 #23BD2F #2364BD
square
#BD23B1 #BD7C23 #23BD2F #2364BD
split-complementary
#BD23B1 #64BD23 #23BD7C
monochromatic
#561050 #891981 #BD23B1 #DC41D0 #E575DD

Accessibility & contrast

On white

5.20
#BD23B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BD23B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD23B1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD23B1#FFFFFF#000000##FFFFFF
##BD23B11.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105FB5
Deuteranopia (green-blind)
#5A74AE
Tritanopia (blue-blind)
#C5396B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd23b1;
/* rgb */ color: rgb(189, 35, 177);
/* oklch */ color: oklch(56.5% 0.234 331.8);
Tailwind
colors: {
  custom: {
    50: '#d573c9',
    500: '#bd23b1',
    950: '#000000',
  },
}
SCSS
$custom: #bd23b1;
$custom-light: #d573c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd23b1",
  "rgb": {
    "r": 189,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 304.675,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56483,
    "c": 0.23351,
    "h": 331.8
  },
  "luminance": 0.15195
}

Semantic roles & 50–950 ramp

primary
#BD23B1
secondary
#6FCD76
accent
#EC4A3C
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BD23B1

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

Preview Lab → · Contrast checker → · Palette generator →

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