#BD34BD#BD34BD

#BD34BD is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.227 H 328.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BD34BD
RGBrgb(189, 52, 189)
HSLhsl(300, 57%, 47%)
HSVhsv(300, 72%, 74%)
CMYKcmyk(0%, 72.5%, 0%, 25.9%)
CIE-LABlab(48.20, 68.93, -43.36)
CIE-LCHlch(48.20, 81.43, 327.83°)
OKLaboklab(58.33% 0.1923 -0.1201)
OKLCHoklch(58.33% 0.227 328)
XYZxyz(31.3992, 16.9512, 49.7524)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD34BD #34BD34
analogous
#7934BD #BD34BD #BD3479
triadic
#BD34BD #BDBD34 #34BDBD
tetradic
#BD34BD #BD7934 #34BD34 #3479BD
square
#BD34BD #BD7934 #34BD34 #3479BD
split-complementary
#BD34BD #79BD34 #34BD79
monochromatic
#5D1A5D #8D278D #BD34BD #D25CD2 #DF8CDF

Accessibility & contrast

On white

4.78
#BD34BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BD34BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD34BD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD34BD#FFFFFF#000000##FFFFFF
##BD34BD1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C1
Deuteranopia (green-blind)
#5979BA
Tritanopia (blue-blind)
#C34976
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bd34bd;
/* rgb */ color: rgb(189, 52, 189);
/* oklch */ color: oklch(58.3% 0.227 328.0);
Tailwind
colors: {
  custom: {
    50: '#d579d1',
    500: '#bd34bd',
    950: '#000000',
  },
}
SCSS
$custom: #bd34bd;
$custom-light: #d579d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd34bd",
  "rgb": {
    "r": 189,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 300,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58331,
    "c": 0.22675,
    "h": 328
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

primary
#BD34BD
secondary
#83CA83
accent
#E04848
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BD34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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