#BD23BD#BD23BD

#BD23BD is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.2% C 0.242 H 328.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BD23BD
RGBrgb(189, 35, 189)
HSLhsl(300, 69%, 44%)
HSVhsv(300, 81%, 74%)
CMYKcmyk(0%, 81.5%, 0%, 25.9%)
CIE-LABlab(46.58, 73.61, -45.94)
CIE-LCHlch(46.58, 86.77, 328.03°)
OKLaboklab(57.18% 0.2056 -0.1275)
OKLCHoklch(57.18% 0.242 328.2)
XYZxyz(30.7723, 15.6974, 49.5434)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD23BD #23BD23
analogous
#7023BD #BD23BD #BD2370
triadic
#BD23BD #BDBD23 #23BDBD
tetradic
#BD23BD #BD7023 #23BD23 #2370BD
square
#BD23BD #BD7023 #23BD23 #2370BD
split-complementary
#BD23BD #70BD23 #23BD70
monochromatic
#561056 #891989 #BD23BD #DC41DC #E575E5

Accessibility & contrast

On white

5.07
#BD23BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#BD23BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD23BD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD23BD#FFFFFF#000000##FFFFFF
##BD23BD1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#5275B9
Tritanopia (blue-blind)
#C34072
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd23bd;
/* rgb */ color: rgb(189, 35, 189);
/* oklch */ color: oklch(57.2% 0.242 328.2);
Tailwind
colors: {
  custom: {
    50: '#d573d1',
    500: '#bd23bd',
    950: '#000000',
  },
}
SCSS
$custom: #bd23bd;
$custom-light: #d573d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd23bd",
  "rgb": {
    "r": 189,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 300,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.57175,
    "c": 0.24191,
    "h": 328.2
  },
  "luminance": 0.15695
}

Semantic roles & 50–950 ramp

primary
#BD23BD
secondary
#6FCD6F
accent
#EC3C3C
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BD23BD

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

Preview Lab → · Contrast checker → · Palette generator →

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