#BD20B6#BD20B6

#BD20B6 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.6% C 0.239 H 330.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BD20B6
RGBrgb(189, 32, 182)
HSLhsl(303, 71%, 43%)
HSVhsv(303, 83%, 74%)
CMYKcmyk(0%, 83.1%, 3.7%, 25.9%)
CIE-LABlab(45.95, 73.20, -42.83)
CIE-LCHlch(45.95, 84.81, 329.67°)
OKLaboklab(56.6% 0.2077 -0.1185)
OKLCHoklch(56.6% 0.239 330.3)
XYZxyz(29.9462, 15.2317, 45.6097)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD20B6 #20BD27
analogous
#7520BD #BD20B6 #BD2067
triadic
#BD20B6 #B6BD20 #20B6BD
tetradic
#BD20B6 #BD7520 #20BD27 #2067BD
square
#BD20B6 #BD7520 #20BD27 #2067BD
split-complementary
#BD20B6 #67BD20 #20BD75
monochromatic
#540E51 #891784 #BD20B6 #DE3CD7 #E771E2

Accessibility & contrast

On white

5.19
#BD20B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BD20B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD20B6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD20B6#FFFFFF#000000##FFFFFF
##BD20B61.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#5674B2
Tritanopia (blue-blind)
#C43A6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd20b6;
/* rgb */ color: rgb(189, 32, 182);
/* oklch */ color: oklch(56.6% 0.239 330.3);
Tailwind
colors: {
  custom: {
    50: '#d572cc',
    500: '#bd20b6',
    950: '#000000',
  },
}
SCSS
$custom: #bd20b6;
$custom-light: #d572cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bd20b6",
  "rgb": {
    "r": 189,
    "g": 32,
    "b": 182
  },
  "hsl": {
    "h": 302.675,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56604,
    "c": 0.23915,
    "h": 330.3
  },
  "luminance": 0.15229
}

Semantic roles & 50–950 ramp

primary
#BD20B6
secondary
#6BCD70
accent
#EE423A
background
#FDF7FC
surface
#FBEDF9
border
#D4C8D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BD20B6

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

Preview Lab → · Contrast checker → · Palette generator →

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