#BD20B4#BD20B4

#BD20B4 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.5% C 0.238 H 330.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BD20B4
RGBrgb(189, 32, 180)
HSLhsl(303, 71%, 43%)
HSVhsv(303, 83%, 74%)
CMYKcmyk(0%, 83.1%, 4.8%, 25.9%)
CIE-LABlab(45.84, 72.91, -41.84)
CIE-LCHlch(45.84, 84.06, 330.15°)
OKLaboklab(56.49% 0.2078 -0.1156)
OKLCHoklch(56.49% 0.238 330.9)
XYZxyz(29.7410, 15.1496, 44.5290)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD20B4 #20BD29
analogous
#7720BD #BD20B4 #BD2066
triadic
#BD20B4 #B4BD20 #20B4BD
tetradic
#BD20B4 #BD7720 #20BD29 #2066BD
square
#BD20B4 #BD7720 #20BD29 #2066BD
split-complementary
#BD20B4 #66BD20 #20BD77
monochromatic
#540E50 #891782 #BD20B4 #DE3CD5 #E771E0

Accessibility & contrast

On white

5.21
#BD20B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BD20B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD20B4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD20B4#FFFFFF#000000##FFFFFF
##BD20B41.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#5774B0
Tritanopia (blue-blind)
#C5396C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd20b4;
/* rgb */ color: rgb(189, 32, 180);
/* oklch */ color: oklch(56.5% 0.238 330.9);
Tailwind
colors: {
  custom: {
    50: '#d572cb',
    500: '#bd20b4',
    950: '#000000',
  },
}
SCSS
$custom: #bd20b4;
$custom-light: #d572cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd20b4",
  "rgb": {
    "r": 189,
    "g": 32,
    "b": 180
  },
  "hsl": {
    "h": 303.439,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56489,
    "c": 0.23778,
    "h": 330.9
  },
  "luminance": 0.15147
}

Semantic roles & 50–950 ramp

primary
#BD20B4
secondary
#6BCD71
accent
#EE443A
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BD20B4

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

Preview Lab → · Contrast checker → · Palette generator →

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