#BD22B0#BD22B0

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

Color values

HEX#BD22B0
RGBrgb(189, 34, 176)
HSLhsl(305, 70%, 44%)
HSVhsv(305, 82%, 74%)
CMYKcmyk(0%, 82%, 6.9%, 25.9%)
CIE-LABlab(45.77, 71.87, -39.58)
CIE-LCHlch(45.77, 82.05, 331.16°)
OKLaboklab(56.37% 0.2066 -0.1091)
OKLCHoklch(56.37% 0.234 332.2)
XYZxyz(29.3949, 15.1000, 42.4323)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD22B0 #22BD2F
analogous
#7C22BD #BD22B0 #BD2262
triadic
#BD22B0 #B0BD22 #22B0BD
tetradic
#BD22B0 #BD7C22 #22BD2F #2262BD
square
#BD22B0 #BD7C22 #22BD2F #2262BD
split-complementary
#BD22B0 #62BD22 #22BD7C
monochromatic
#550F4F #891980 #BD22B0 #DD40CF #E673DC

Accessibility & contrast

On white

5.22
#BD22B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BD22B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD22B0
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD22B0#FFFFFF#000000##FFFFFF
##BD22B01.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105FB4
Deuteranopia (green-blind)
#5A74AD
Tritanopia (blue-blind)
#C5386A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bd22b0;
/* rgb */ color: rgb(189, 34, 176);
/* oklch */ color: oklch(56.4% 0.234 332.2);
Tailwind
colors: {
  custom: {
    50: '#d572c8',
    500: '#bd22b0',
    950: '#000000',
  },
}
SCSS
$custom: #bd22b0;
$custom-light: #d572c8;
$custom-dark: #000000;
JSON
{
  "hex": "#bd22b0",
  "rgb": {
    "r": 189,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 305.032,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56371,
    "c": 0.23359,
    "h": 332.2
  },
  "luminance": 0.15097
}

Semantic roles & 50–950 ramp

primary
#BD22B0
secondary
#6ECD76
accent
#EC4A3B
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BD22B0

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

Preview Lab → · Contrast checker → · Palette generator →

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