#BD20B7#BD20B7

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

Color values

HEX#BD20B7
RGBrgb(189, 32, 183)
HSLhsl(302, 71%, 43%)
HSVhsv(302, 83%, 74%)
CMYKcmyk(0%, 83.1%, 3.2%, 25.9%)
CIE-LABlab(46.01, 73.35, -43.33)
CIE-LCHlch(46.01, 85.20, 329.43°)
OKLaboklab(56.66% 0.2077 -0.1199)
OKLCHoklch(56.66% 0.24 330)
XYZxyz(30.0499, 15.2732, 46.1559)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD20B7 #20BD26
analogous
#7420BD #BD20B7 #BD2068
triadic
#BD20B7 #B7BD20 #20B7BD
tetradic
#BD20B7 #BD7420 #20BD26 #2068BD
square
#BD20B7 #BD7420 #20BD26 #2068BD
split-complementary
#BD20B7 #68BD20 #20BD74
monochromatic
#540E52 #891784 #BD20B7 #DE3CD8 #E771E2

Accessibility & contrast

On white

5.18
#BD20B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BD20B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD20B7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD20B7#FFFFFF#000000##FFFFFF
##BD20B71.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#5574B3
Tritanopia (blue-blind)
#C43B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd20b7;
/* rgb */ color: rgb(189, 32, 183);
/* oklch */ color: oklch(56.7% 0.240 330.0);
Tailwind
colors: {
  custom: {
    50: '#d572cd',
    500: '#bd20b7',
    950: '#000000',
  },
}
SCSS
$custom: #bd20b7;
$custom-light: #d572cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bd20b7",
  "rgb": {
    "r": 189,
    "g": 32,
    "b": 183
  },
  "hsl": {
    "h": 302.293,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56662,
    "c": 0.23985,
    "h": 330
  },
  "luminance": 0.15271
}

Semantic roles & 50–950 ramp

primary
#BD20B7
secondary
#6BCD6F
accent
#EE413A
background
#FDF7FC
surface
#FBEDF9
border
#D4C8D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BD20B7

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

Preview Lab → · Contrast checker → · Palette generator →

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