#BD22B3#BD22B3

#BD22B3 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.5% C 0.236 H 331.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BD22B3
RGBrgb(189, 34, 179)
HSLhsl(304, 70%, 44%)
HSVhsv(304, 82%, 74%)
CMYKcmyk(0%, 82%, 5.3%, 25.9%)
CIE-LABlab(45.93, 72.32, -41.09)
CIE-LCHlch(45.93, 83.18, 330.39°)
OKLaboklab(56.54% 0.2065 -0.1134)
OKLCHoklch(56.54% 0.236 331.2)
XYZxyz(29.6950, 15.2201, 44.0129)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD22B3 #22BD2C
analogous
#7922BD #BD22B3 #BD2265
triadic
#BD22B3 #B3BD22 #22B3BD
tetradic
#BD22B3 #BD7922 #22BD2C #2265BD
square
#BD22B3 #BD7922 #22BD2C #2265BD
split-complementary
#BD22B3 #65BD22 #22BD79
monochromatic
#550F51 #891982 #BD22B3 #DD40D2 #E673DF

Accessibility & contrast

On white

5.19
#BD22B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BD22B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD22B3
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD22B3#FFFFFF#000000##FFFFFF
##BD22B31.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075FB7
Deuteranopia (green-blind)
#5874B0
Tritanopia (blue-blind)
#C5396C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd22b3;
/* rgb */ color: rgb(189, 34, 179);
/* oklch */ color: oklch(56.5% 0.236 331.2);
Tailwind
colors: {
  custom: {
    50: '#d572ca',
    500: '#bd22b3',
    950: '#000000',
  },
}
SCSS
$custom: #bd22b3;
$custom-light: #d572ca;
$custom-dark: #000000;
JSON
{
  "hex": "#bd22b3",
  "rgb": {
    "r": 189,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 303.871,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5654,
    "c": 0.23565,
    "h": 331.2
  },
  "luminance": 0.15218
}

Semantic roles & 50–950 ramp

primary
#BD22B3
secondary
#6ECD74
accent
#EC473B
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BD22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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