#BD22B5#BD22B5

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

Color values

HEX#BD22B5
RGBrgb(189, 34, 181)
HSLhsl(303, 70%, 44%)
HSVhsv(303, 82%, 74%)
CMYKcmyk(0%, 82%, 4.2%, 25.9%)
CIE-LABlab(46.04, 72.62, -42.10)
CIE-LCHlch(46.04, 83.94, 329.90°)
OKLaboklab(56.65% 0.2065 -0.1163)
OKLCHoklch(56.65% 0.237 330.6)
XYZxyz(29.8987, 15.3015, 45.0859)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD22B5 #22BD2A
analogous
#7722BD #BD22B5 #BD2267
triadic
#BD22B5 #B5BD22 #22B5BD
tetradic
#BD22B5 #BD7722 #22BD2A #2267BD
square
#BD22B5 #BD7722 #22BD2A #2267BD
split-complementary
#BD22B5 #67BD22 #22BD77
monochromatic
#550F52 #891983 #BD22B5 #DD40D4 #E673E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BD22B5#FFFFFF#000000##FFFFFF
##BD22B51.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)
#0060B9
Deuteranopia (green-blind)
#5774B1
Tritanopia (blue-blind)
#C43B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd22b5;
/* rgb */ color: rgb(189, 34, 181);
/* oklch */ color: oklch(56.7% 0.237 330.6);
Tailwind
colors: {
  custom: {
    50: '#d573cc',
    500: '#bd22b5',
    950: '#000000',
  },
}
SCSS
$custom: #bd22b5;
$custom-light: #d573cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bd22b5",
  "rgb": {
    "r": 189,
    "g": 34,
    "b": 181
  },
  "hsl": {
    "h": 303.097,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56654,
    "c": 0.23703,
    "h": 330.6
  },
  "luminance": 0.15299
}

Semantic roles & 50–950 ramp

primary
#BD22B5
secondary
#6ECD73
accent
#EC453B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BD22B5

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

Preview Lab → · Contrast checker → · Palette generator →

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