#BD20B3#BD20B3

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

Color values

HEX#BD20B3
RGBrgb(189, 32, 179)
HSLhsl(304, 71%, 43%)
HSVhsv(304, 83%, 74%)
CMYKcmyk(0%, 83.1%, 5.3%, 25.9%)
CIE-LABlab(45.78, 72.76, -41.33)
CIE-LCHlch(45.78, 83.68, 330.40°)
OKLaboklab(56.43% 0.2078 -0.1141)
OKLCHoklch(56.43% 0.237 331.2)
XYZxyz(29.6395, 15.1090, 43.9944)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD20B3 #20BD2A
analogous
#7920BD #BD20B3 #BD2064
triadic
#BD20B3 #B3BD20 #20B3BD
tetradic
#BD20B3 #BD7920 #20BD2A #2064BD
square
#BD20B3 #BD7920 #20BD2A #2064BD
split-complementary
#BD20B3 #64BD20 #20BD79
monochromatic
#540E50 #891781 #BD20B3 #DE3CD4 #E771DF

Accessibility & contrast

On white

5.22
#BD20B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BD20B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD20B3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD20B3#FFFFFF#000000##FFFFFF
##BD20B31.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015FB7
Deuteranopia (green-blind)
#5874AF
Tritanopia (blue-blind)
#C5386C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bd20b3;
/* rgb */ color: rgb(189, 32, 179);
/* oklch */ color: oklch(56.4% 0.237 331.2);
Tailwind
colors: {
  custom: {
    50: '#d572ca',
    500: '#bd20b3',
    950: '#000000',
  },
}
SCSS
$custom: #bd20b3;
$custom-light: #d572ca;
$custom-dark: #000000;
JSON
{
  "hex": "#bd20b3",
  "rgb": {
    "r": 189,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 303.822,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56432,
    "c": 0.2371,
    "h": 331.2
  },
  "luminance": 0.15107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD20B3

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

Preview Lab → · Contrast checker → · Palette generator →

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