#BD20B2#BD20B2

#BD20B2 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.4% C 0.236 H 331.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BD20B2
RGBrgb(189, 32, 178)
HSLhsl(304, 71%, 43%)
HSVhsv(304, 83%, 74%)
CMYKcmyk(0%, 83.1%, 5.8%, 25.9%)
CIE-LABlab(45.73, 72.61, -40.83)
CIE-LCHlch(45.73, 83.30, 330.65°)
OKLaboklab(56.38% 0.2078 -0.1127)
OKLCHoklch(56.38% 0.236 331.5)
XYZxyz(29.5387, 15.0687, 43.4637)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD20B2 #20BD2B
analogous
#7920BD #BD20B2 #BD2063
triadic
#BD20B2 #B2BD20 #20B2BD
tetradic
#BD20B2 #BD7920 #20BD2B #2063BD
square
#BD20B2 #BD7920 #20BD2B #2063BD
split-complementary
#BD20B2 #63BD20 #20BD79
monochromatic
#540E4F #891781 #BD20B2 #DE3CD3 #E771DF

Accessibility & contrast

On white

5.23
#BD20B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BD20B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD20B2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD20B2#FFFFFF#000000##FFFFFF
##BD20B21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055FB6
Deuteranopia (green-blind)
#5874AE
Tritanopia (blue-blind)
#C5386B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bd20b2;
/* rgb */ color: rgb(189, 32, 178);
/* oklch */ color: oklch(56.4% 0.236 331.5);
Tailwind
colors: {
  custom: {
    50: '#d572c9',
    500: '#bd20b2',
    950: '#000000',
  },
}
SCSS
$custom: #bd20b2;
$custom-light: #d572c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd20b2",
  "rgb": {
    "r": 189,
    "g": 32,
    "b": 178
  },
  "hsl": {
    "h": 304.204,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56376,
    "c": 0.23641,
    "h": 331.5
  },
  "luminance": 0.15066
}

Semantic roles & 50–950 ramp

primary
#BD20B2
secondary
#6BCD72
accent
#EE473A
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BD20B2

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

Preview Lab → · Contrast checker → · Palette generator →

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