#BD22B6#BD22B6

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

Color values

HEX#BD22B6
RGBrgb(189, 34, 182)
HSLhsl(303, 70%, 44%)
HSVhsv(303, 82%, 74%)
CMYKcmyk(0%, 82%, 3.7%, 25.9%)
CIE-LABlab(46.10, 72.77, -42.60)
CIE-LCHlch(46.10, 84.32, 329.66°)
OKLaboklab(56.71% 0.2065 -0.1178)
OKLCHoklch(56.71% 0.238 330.3)
XYZxyz(30.0017, 15.3427, 45.6282)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD22B6 #22BD29
analogous
#7622BD #BD22B6 #BD2268
triadic
#BD22B6 #B6BD22 #22B6BD
tetradic
#BD22B6 #BD7622 #22BD29 #2268BD
square
#BD22B6 #BD7622 #22BD29 #2268BD
split-complementary
#BD22B6 #68BD22 #22BD76
monochromatic
#550F52 #891984 #BD22B6 #DD40D5 #E673E1

Accessibility & contrast

On white

5.16
#BD22B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BD22B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD22B6
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD22B6#FFFFFF#000000##FFFFFF
##BD22B61.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#5674B2
Tritanopia (blue-blind)
#C43B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd22b6;
/* rgb */ color: rgb(189, 34, 182);
/* oklch */ color: oklch(56.7% 0.238 330.3);
Tailwind
colors: {
  custom: {
    50: '#d573cc',
    500: '#bd22b6',
    950: '#000000',
  },
}
SCSS
$custom: #bd22b6;
$custom-light: #d573cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bd22b6",
  "rgb": {
    "r": 189,
    "g": 34,
    "b": 182
  },
  "hsl": {
    "h": 302.71,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56711,
    "c": 0.23773,
    "h": 330.3
  },
  "luminance": 0.1534
}

Semantic roles & 50–950 ramp

primary
#BD22B6
secondary
#6ECD72
accent
#EC433B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BD22B6

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

Preview Lab → · Contrast checker → · Palette generator →

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