#BD20B8#BD20B8

#BD20B8 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.7% C 0.241 H 329.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BD20B8
RGBrgb(189, 32, 184)
HSLhsl(302, 71%, 43%)
HSVhsv(302, 83%, 74%)
CMYKcmyk(0%, 83.1%, 2.6%, 25.9%)
CIE-LABlab(46.06, 73.50, -43.83)
CIE-LCHlch(46.06, 85.58, 329.19°)
OKLaboklab(56.72% 0.2077 -0.1214)
OKLCHoklch(56.72% 0.241 329.7)
XYZxyz(30.1543, 15.3150, 46.7060)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD20B8 #20BD25
analogous
#7320BD #BD20B8 #BD2069
triadic
#BD20B8 #B8BD20 #20B8BD
tetradic
#BD20B8 #BD7320 #20BD25 #2069BD
square
#BD20B8 #BD7320 #20BD25 #2069BD
split-complementary
#BD20B8 #69BD20 #20BD73
monochromatic
#540E52 #891785 #BD20B8 #DE3CD9 #E771E3

Accessibility & contrast

On white

5.17
#BD20B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BD20B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD20B8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD20B8#FFFFFF#000000##FFFFFF
##BD20B81.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#5574B4
Tritanopia (blue-blind)
#C43B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd20b8;
/* rgb */ color: rgb(189, 32, 184);
/* oklch */ color: oklch(56.7% 0.241 329.7);
Tailwind
colors: {
  custom: {
    50: '#d572ce',
    500: '#bd20b8',
    950: '#000000',
  },
}
SCSS
$custom: #bd20b8;
$custom-light: #d572ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bd20b8",
  "rgb": {
    "r": 189,
    "g": 32,
    "b": 184
  },
  "hsl": {
    "h": 301.911,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56721,
    "c": 0.24054,
    "h": 329.7
  },
  "luminance": 0.15313
}

Semantic roles & 50–950 ramp

primary
#BD20B8
secondary
#6BCD6E
accent
#EE403A
background
#FDF7FC
surface
#FBEDF9
border
#D4C8D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BD20B8

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

Preview Lab → · Contrast checker → · Palette generator →

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