#BD22B1#BD22B1

#BD22B1 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.4% C 0.234 H 331.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BD22B1
RGBrgb(189, 34, 177)
HSLhsl(305, 70%, 44%)
HSVhsv(305, 82%, 74%)
CMYKcmyk(0%, 82%, 6.3%, 25.9%)
CIE-LABlab(45.82, 72.02, -40.09)
CIE-LCHlch(45.82, 82.43, 330.90°)
OKLaboklab(56.43% 0.2066 -0.1105)
OKLCHoklch(56.43% 0.234 331.8)
XYZxyz(29.4942, 15.1397, 42.9553)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD22B1 #22BD2E
analogous
#7B22BD #BD22B1 #BD2263
triadic
#BD22B1 #B1BD22 #22B1BD
tetradic
#BD22B1 #BD7B22 #22BD2E #2263BD
square
#BD22B1 #BD7B22 #22BD2E #2263BD
split-complementary
#BD22B1 #63BD22 #22BD7B
monochromatic
#550F50 #891980 #BD22B1 #DD40D0 #E673DD

Accessibility & contrast

On white

5.21
#BD22B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BD22B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD22B1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD22B1#FFFFFF#000000##FFFFFF
##BD22B11.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5FB5
Deuteranopia (green-blind)
#5974AE
Tritanopia (blue-blind)
#C5386B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bd22b1;
/* rgb */ color: rgb(189, 34, 177);
/* oklch */ color: oklch(56.4% 0.234 331.8);
Tailwind
colors: {
  custom: {
    50: '#d572c9',
    500: '#bd22b1',
    950: '#000000',
  },
}
SCSS
$custom: #bd22b1;
$custom-light: #d572c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd22b1",
  "rgb": {
    "r": 189,
    "g": 34,
    "b": 177
  },
  "hsl": {
    "h": 304.645,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56427,
    "c": 0.23427,
    "h": 331.8
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#BD22B1
secondary
#6ECD75
accent
#EC493B
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BD22B1

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

Preview Lab → · Contrast checker → · Palette generator →

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