#BD22B8#BD22B8

#BD22B8 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.8% C 0.239 H 329.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BD22B8
RGBrgb(189, 34, 184)
HSLhsl(302, 70%, 44%)
HSVhsv(302, 82%, 74%)
CMYKcmyk(0%, 82%, 2.6%, 25.9%)
CIE-LABlab(46.21, 73.07, -43.59)
CIE-LCHlch(46.21, 85.08, 329.18°)
OKLaboklab(56.83% 0.2064 -0.1207)
OKLCHoklch(56.83% 0.239 329.7)
XYZxyz(30.2099, 15.4260, 46.7245)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD22B8 #22BD27
analogous
#7422BD #BD22B8 #BD226B
triadic
#BD22B8 #B8BD22 #22B8BD
tetradic
#BD22B8 #BD7422 #22BD27 #226BBD
square
#BD22B8 #BD7422 #22BD27 #226BBD
split-complementary
#BD22B8 #6BBD22 #22BD74
monochromatic
#550F53 #891986 #BD22B8 #DD40D8 #E673E2

Accessibility & contrast

On white

5.14
#BD22B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BD22B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD22B8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD22B8#FFFFFF#000000##FFFFFF
##BD22B81.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bd22b8;
/* rgb */ color: rgb(189, 34, 184);
/* oklch */ color: oklch(56.8% 0.239 329.7);
Tailwind
colors: {
  custom: {
    50: '#d573ce',
    500: '#bd22b8',
    950: '#000000',
  },
}
SCSS
$custom: #bd22b8;
$custom-light: #d573ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bd22b8",
  "rgb": {
    "r": 189,
    "g": 34,
    "b": 184
  },
  "hsl": {
    "h": 301.935,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56827,
    "c": 0.23911,
    "h": 329.7
  },
  "luminance": 0.15424
}

Semantic roles & 50–950 ramp

primary
#BD22B8
secondary
#6ECD71
accent
#EC413B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BD22B8

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

Preview Lab → · Contrast checker → · Palette generator →

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