#B22BC0#B22BC0

#B22BC0 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.2% C 0.233 H 323.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B22BC0
RGBrgb(178, 43, 192)
HSLhsl(294, 63%, 46%)
HSVhsv(294, 78%, 75%)
CMYKcmyk(7.3%, 77.6%, 0%, 24.7%)
CIE-LABlab(45.63, 69.92, -49.30)
CIE-LCHlch(45.63, 85.55, 324.81°)
OKLaboklab(56.22% 0.188 -0.1377)
OKLCHoklch(56.22% 0.233 323.8)
XYZxyz(28.7376, 15.0003, 51.2407)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22BC0 #39C02B
analogous
#672BC0 #B22BC0 #C02B83
triadic
#B22BC0 #C0B22B #2BC0B2
tetradic
#B22BC0 #C0672B #39C02B #2B83C0
square
#B22BC0 #C0672B #39C02B #2B83C0
split-complementary
#B22BC0 #83C02B #2BC067
monochromatic
#55155C #84208E #B22BC0 #CB50D8 #DA82E3

Accessibility & contrast

On white

5.25
#B22BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B22BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22BC0
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22BC0#FFFFFF#000000##FFFFFF
##B22BC01.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#4871BD
Tritanopia (blue-blind)
#B54875
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b22bc0;
/* rgb */ color: rgb(178, 43, 192);
/* oklch */ color: oklch(56.2% 0.233 323.8);
Tailwind
colors: {
  custom: {
    50: '#cd74d4',
    500: '#b22bc0',
    950: '#000000',
  },
}
SCSS
$custom: #b22bc0;
$custom-light: #cd74d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b22bc0",
  "rgb": {
    "r": 178,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 294.362,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56217,
    "c": 0.23299,
    "h": 323.8
  },
  "luminance": 0.14999
}

Semantic roles & 50–950 ramp

primary
#B22BC0
secondary
#82CC7B
accent
#E64151
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140914
muted
#837B83

Preview Lab

Preview with #B22BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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