#BD22B2#BD22B2

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

Color values

HEX#BD22B2
RGBrgb(189, 34, 178)
HSLhsl(304, 70%, 44%)
HSVhsv(304, 82%, 74%)
CMYKcmyk(0%, 82%, 5.8%, 25.9%)
CIE-LABlab(45.88, 72.17, -40.59)
CIE-LCHlch(45.88, 82.80, 330.64°)
OKLaboklab(56.48% 0.2066 -0.112)
OKLCHoklch(56.48% 0.235 331.5)
XYZxyz(29.5942, 15.1797, 43.4822)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD22B2 #22BD2D
analogous
#7A22BD #BD22B2 #BD2264
triadic
#BD22B2 #B2BD22 #22B2BD
tetradic
#BD22B2 #BD7A22 #22BD2D #2264BD
square
#BD22B2 #BD7A22 #22BD2D #2264BD
split-complementary
#BD22B2 #64BD22 #22BD7A
monochromatic
#550F50 #891981 #BD22B2 #DD40D1 #E673DE

Accessibility & contrast

On white

5.20
#BD22B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BD22B2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD22B2#FFFFFF#000000##FFFFFF
##BD22B21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5FB6
Deuteranopia (green-blind)
#5974AF
Tritanopia (blue-blind)
#C5396C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd22b2;
/* rgb */ color: rgb(189, 34, 178);
/* oklch */ color: oklch(56.5% 0.235 331.5);
Tailwind
colors: {
  custom: {
    50: '#d572c9',
    500: '#bd22b2',
    950: '#000000',
  },
}
SCSS
$custom: #bd22b2;
$custom-light: #d572c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd22b2",
  "rgb": {
    "r": 189,
    "g": 34,
    "b": 178
  },
  "hsl": {
    "h": 304.258,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56483,
    "c": 0.23496,
    "h": 331.5
  },
  "luminance": 0.15177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BD22B2

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

Preview Lab → · Contrast checker → · Palette generator →

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