#BD20BD#BD20BD

#BD20BD is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 57.0% C 0.244 H 328.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BD20BD
RGBrgb(189, 32, 189)
HSLhsl(300, 71%, 43%)
HSVhsv(300, 83%, 74%)
CMYKcmyk(0%, 83.1%, 0%, 25.9%)
CIE-LABlab(46.35, 74.27, -46.30)
CIE-LCHlch(46.35, 87.52, 328.06°)
OKLaboklab(57.02% 0.2074 -0.1286)
OKLCHoklch(57.02% 0.244 328.2)
XYZxyz(30.6877, 15.5283, 49.5152)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD20BD #20BD20
analogous
#6E20BD #BD20BD #BD206E
triadic
#BD20BD #BDBD20 #20BDBD
tetradic
#BD20BD #BD6E20 #20BD20 #206EBD
square
#BD20BD #BD6E20 #20BD20 #206EBD
split-complementary
#BD20BD #6EBD20 #20BD6E
monochromatic
#540E54 #891789 #BD20BD #DE3CDE #E771E7

Accessibility & contrast

On white

5.12
#BD20BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BD20BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD20BD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD20BD#FFFFFF#000000##FFFFFF
##BD20BD1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#5275B9
Tritanopia (blue-blind)
#C33E72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd20bd;
/* rgb */ color: rgb(189, 32, 189);
/* oklch */ color: oklch(57.0% 0.244 328.2);
Tailwind
colors: {
  custom: {
    50: '#d572d1',
    500: '#bd20bd',
    950: '#000000',
  },
}
SCSS
$custom: #bd20bd;
$custom-light: #d572d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd20bd",
  "rgb": {
    "r": 189,
    "g": 32,
    "b": 189
  },
  "hsl": {
    "h": 300,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.57016,
    "c": 0.24404,
    "h": 328.2
  },
  "luminance": 0.15526
}

Semantic roles & 50–950 ramp

primary
#BD20BD
secondary
#6BCD6B
accent
#EE3A3A
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BD20BD

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

Preview Lab → · Contrast checker → · Palette generator →

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