#BC22B9#BC22B9

#BC22B9 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.7% C 0.239 H 329.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BC22B9
RGBrgb(188, 34, 185)
HSLhsl(301, 69%, 44%)
HSVhsv(301, 82%, 74%)
CMYKcmyk(0%, 81.9%, 1.6%, 26.3%)
CIE-LABlab(46.10, 73.03, -44.37)
CIE-LCHlch(46.10, 85.45, 328.72°)
OKLaboklab(56.73% 0.2054 -0.123)
OKLCHoklch(56.73% 0.239 329.1)
XYZxyz(30.0678, 15.3406, 47.2669)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BC22B9 #22BC25
analogous
#7222BC #BC22B9 #BC226C
triadic
#BC22B9 #B9BC22 #22B9BC
tetradic
#BC22B9 #BC7222 #22BC25 #226CBC
square
#BC22B9 #BC7222 #22BC25 #226CBC
split-complementary
#BC22B9 #6CBC22 #22BC72
monochromatic
#540F53 #881986 #BC22B9 #DC3FD9 #E673E3

Accessibility & contrast

On white

5.16
#BC22B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BC22B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BC22B9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BC22B9#FFFFFF#000000##FFFFFF
##BC22B91.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#5474B5
Tritanopia (blue-blind)
#C33D70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bc22b9;
/* rgb */ color: rgb(188, 34, 185);
/* oklch */ color: oklch(56.7% 0.239 329.1);
Tailwind
colors: {
  custom: {
    50: '#d573ce',
    500: '#bc22b9',
    950: '#000000',
  },
}
SCSS
$custom: #bc22b9;
$custom-light: #d573ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bc22b9",
  "rgb": {
    "r": 188,
    "g": 34,
    "b": 185
  },
  "hsl": {
    "h": 301.169,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56731,
    "c": 0.23939,
    "h": 329.1
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#BC22B9
secondary
#6DCD6F
accent
#EC3F3C
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BC22B9

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

Preview Lab → · Contrast checker → · Palette generator →

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