#BD20B5#BD20B5

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

Color values

HEX#BD20B5
RGBrgb(189, 32, 181)
HSLhsl(303, 71%, 43%)
HSVhsv(303, 83%, 74%)
CMYKcmyk(0%, 83.1%, 4.2%, 25.9%)
CIE-LABlab(45.89, 73.05, -42.34)
CIE-LCHlch(45.89, 84.43, 329.91°)
OKLaboklab(56.55% 0.2078 -0.117)
OKLCHoklch(56.55% 0.238 330.6)
XYZxyz(29.8432, 15.1905, 45.0674)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD20B5 #20BD28
analogous
#7620BD #BD20B5 #BD2067
triadic
#BD20B5 #B5BD20 #20B5BD
tetradic
#BD20B5 #BD7620 #20BD28 #2067BD
square
#BD20B5 #BD7620 #20BD28 #2067BD
split-complementary
#BD20B5 #67BD20 #20BD76
monochromatic
#540E51 #891783 #BD20B5 #DE3CD6 #E771E1

Accessibility & contrast

On white

5.20
#BD20B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BD20B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD20B5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD20B5#FFFFFF#000000##FFFFFF
##BD20B51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#5674B1
Tritanopia (blue-blind)
#C53A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd20b5;
/* rgb */ color: rgb(189, 32, 181);
/* oklch */ color: oklch(56.5% 0.238 330.6);
Tailwind
colors: {
  custom: {
    50: '#d572cc',
    500: '#bd20b5',
    950: '#000000',
  },
}
SCSS
$custom: #bd20b5;
$custom-light: #d572cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bd20b5",
  "rgb": {
    "r": 189,
    "g": 32,
    "b": 181
  },
  "hsl": {
    "h": 303.057,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56547,
    "c": 0.23846,
    "h": 330.6
  },
  "luminance": 0.15188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD20B5

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

Preview Lab → · Contrast checker → · Palette generator →

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