#BD22B7#BD22B7

#BD22B7 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.8% C 0.238 H 330.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BD22B7
RGBrgb(189, 34, 183)
HSLhsl(302, 70%, 44%)
HSVhsv(302, 82%, 74%)
CMYKcmyk(0%, 82%, 3.2%, 25.9%)
CIE-LABlab(46.16, 72.92, -43.09)
CIE-LCHlch(46.16, 84.70, 329.42°)
OKLaboklab(56.77% 0.2065 -0.1192)
OKLCHoklch(56.77% 0.238 330)
XYZxyz(30.1054, 15.3842, 46.1744)
Luminance0.1538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD22B7 #22BD28
analogous
#7522BD #BD22B7 #BD2269
triadic
#BD22B7 #B7BD22 #22B7BD
tetradic
#BD22B7 #BD7522 #22BD28 #2269BD
square
#BD22B7 #BD7522 #22BD28 #2269BD
split-complementary
#BD22B7 #69BD22 #22BD75
monochromatic
#550F53 #891985 #BD22B7 #DD40D6 #E673E1

Accessibility & contrast

On white

5.15
#BD22B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BD22B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD22B7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD22B7#FFFFFF#000000##FFFFFF
##BD22B71.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#5674B3
Tritanopia (blue-blind)
#C43C6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd22b7;
/* rgb */ color: rgb(189, 34, 183);
/* oklch */ color: oklch(56.8% 0.238 330.0);
Tailwind
colors: {
  custom: {
    50: '#d573cd',
    500: '#bd22b7',
    950: '#000000',
  },
}
SCSS
$custom: #bd22b7;
$custom-light: #d573cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bd22b7",
  "rgb": {
    "r": 189,
    "g": 34,
    "b": 183
  },
  "hsl": {
    "h": 302.323,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56769,
    "c": 0.23842,
    "h": 330
  },
  "luminance": 0.15382
}

Semantic roles & 50–950 ramp

primary
#BD22B7
secondary
#6ECD72
accent
#EC423B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BD22B7

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

Preview Lab → · Contrast checker → · Palette generator →

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