#BD22B4#BD22B4

#BD22B4 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.6% C 0.236 H 330.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BD22B4
RGBrgb(189, 34, 180)
HSLhsl(303, 70%, 44%)
HSVhsv(303, 82%, 74%)
CMYKcmyk(0%, 82%, 4.8%, 25.9%)
CIE-LABlab(45.99, 72.47, -41.60)
CIE-LCHlch(45.99, 83.56, 330.14°)
OKLaboklab(56.6% 0.2065 -0.1149)
OKLCHoklch(56.6% 0.236 330.9)
XYZxyz(29.7965, 15.2607, 44.5475)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD22B4 #22BD2B
analogous
#7822BD #BD22B4 #BD2266
triadic
#BD22B4 #B4BD22 #22B4BD
tetradic
#BD22B4 #BD7822 #22BD2B #2266BD
square
#BD22B4 #BD7822 #22BD2B #2266BD
split-complementary
#BD22B4 #66BD22 #22BD78
monochromatic
#550F51 #891983 #BD22B4 #DD40D3 #E673DF

Accessibility & contrast

On white

5.18
#BD22B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BD22B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD22B4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD22B4#FFFFFF#000000##FFFFFF
##BD22B41.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0360B8
Deuteranopia (green-blind)
#5874B0
Tritanopia (blue-blind)
#C53A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd22b4;
/* rgb */ color: rgb(189, 34, 180);
/* oklch */ color: oklch(56.6% 0.236 330.9);
Tailwind
colors: {
  custom: {
    50: '#d572cb',
    500: '#bd22b4',
    950: '#000000',
  },
}
SCSS
$custom: #bd22b4;
$custom-light: #d572cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd22b4",
  "rgb": {
    "r": 189,
    "g": 34,
    "b": 180
  },
  "hsl": {
    "h": 303.484,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56596,
    "c": 0.23634,
    "h": 330.9
  },
  "luminance": 0.15258
}

Semantic roles & 50–950 ramp

primary
#BD22B4
secondary
#6ECD73
accent
#EC463B
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BD22B4

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

Preview Lab → · Contrast checker → · Palette generator →

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