#BD23D4#BD23D4

#BD23D4 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.6% C 0.259 H 321.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BD23D4
RGBrgb(189, 35, 212)
HSLhsl(292, 72%, 48%)
HSVhsv(292, 83%, 83%)
CMYKcmyk(10.8%, 83.5%, 0%, 16.9%)
CIE-LABlab(47.98, 77.32, -57.01)
CIE-LCHlch(47.98, 96.06, 323.60°)
OKLaboklab(58.61% 0.2033 -0.1599)
OKLCHoklch(58.61% 0.259 321.8)
XYZxyz(33.4697, 16.7763, 63.7498)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD23D4 #3AD423
analogous
#6423D4 #BD23D4 #D42393
triadic
#BD23D4 #D4BD23 #23D4BD
tetradic
#BD23D4 #D46423 #3AD423 #2393D4
square
#BD23D4 #D46423 #3AD423 #2393D4
split-complementary
#BD23D4 #93D423 #23D464
monochromatic
#5F126B #8E1A9F #BD23D4 #D052E2 #DE86EB

Accessibility & contrast

On white

4.82
#BD23D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BD23D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD23D4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD23D4#FFFFFF#000000##FFFFFF
##BD23D41.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#4077D0
Tritanopia (blue-blind)
#BF4C80
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bd23d4;
/* rgb */ color: rgb(189, 35, 212);
/* oklch */ color: oklch(58.6% 0.259 321.8);
Tailwind
colors: {
  custom: {
    50: '#d674e2',
    500: '#bd23d4',
    950: '#000000',
  },
}
SCSS
$custom: #bd23d4;
$custom-light: #d674e2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd23d4",
  "rgb": {
    "r": 189,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 292.203,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58612,
    "c": 0.25862,
    "h": 321.8
  },
  "luminance": 0.16774
}

Semantic roles & 50–950 ramp

primary
#BD23D4
secondary
#8AD47E
accent
#EE3951
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #BD23D4

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

Preview Lab → · Contrast checker → · Palette generator →

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