#BD34C2#BD34C2

#BD34C2 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.6% C 0.231 H 326.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BD34C2
RGBrgb(189, 52, 194)
HSLhsl(298, 58%, 48%)
HSVhsv(298, 73%, 76%)
CMYKcmyk(2.6%, 73.2%, 0%, 23.9%)
CIE-LABlab(48.48, 69.75, -45.82)
CIE-LCHlch(48.48, 83.45, 326.69°)
OKLaboklab(58.62% 0.1922 -0.1273)
OKLCHoklch(58.62% 0.231 326.5)
XYZxyz(31.9513, 17.1720, 52.6601)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD34C2 #39C234
analogous
#7634C2 #BD34C2 #C23480
triadic
#BD34C2 #C2BD34 #34C2BD
tetradic
#BD34C2 #C27634 #39C234 #3480C2
square
#BD34C2 #C27634 #39C234 #3480C2
split-complementary
#BD34C2 #80C234 #34C276
monochromatic
#5F1A61 #8E2792 #BD34C2 #D05FD4 #DE8FE1

Accessibility & contrast

On white

4.74
#BD34C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BD34C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD34C2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD34C2#FFFFFF#000000##FFFFFF
##BD34C21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A68C6
Deuteranopia (green-blind)
#5679BF
Tritanopia (blue-blind)
#C24C79
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bd34c2;
/* rgb */ color: rgb(189, 52, 194);
/* oklch */ color: oklch(58.6% 0.231 326.5);
Tailwind
colors: {
  custom: {
    50: '#d57ad5',
    500: '#bd34c2',
    950: '#000000',
  },
}
SCSS
$custom: #bd34c2;
$custom-light: #d57ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd34c2",
  "rgb": {
    "r": 189,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 297.887,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58619,
    "c": 0.23057,
    "h": 326.5
  },
  "luminance": 0.1717
}

Semantic roles & 50–950 ramp

primary
#BD34C2
secondary
#89CC86
accent
#E1474C
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BD34C2

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

Preview Lab → · Contrast checker → · Palette generator →

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