#B22FB1#B22FB1

#B22FB1 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.218 H 328.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B22FB1
RGBrgb(178, 47, 177)
HSLhsl(300, 58%, 44%)
HSVhsv(300, 74%, 70%)
CMYKcmyk(0%, 73.6%, 0.6%, 30.2%)
CIE-LABlab(45.18, 66.22, -41.22)
CIE-LCHlch(45.18, 78.00, 328.10°)
OKLaboklab(55.62% 0.1852 -0.1142)
OKLCHoklch(55.62% 0.218 328.4)
XYZxyz(27.3121, 14.6743, 42.9804)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22FB1 #2FB230
analogous
#722FB2 #B22FB1 #B22F70
triadic
#B22FB1 #B1B22F #2FB1B2
tetradic
#B22FB1 #B2722F #2FB230 #2F70B2
square
#B22FB1 #B2722F #2FB230 #2F70B2
split-complementary
#B22FB1 #70B22F #2FB272
monochromatic
#511551 #822281 #B22FB1 #D04ECF #DD7EDC

Accessibility & contrast

On white

5.34
#B22FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B22FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22FB1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22FB1#FFFFFF#000000##FFFFFF
##B22FB11.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1560B5
Deuteranopia (green-blind)
#5471AE
Tritanopia (blue-blind)
#B8436E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b22fb1;
/* rgb */ color: rgb(178, 47, 177);
/* oklch */ color: oklch(55.6% 0.218 328.4);
Tailwind
colors: {
  custom: {
    50: '#cd75c9',
    500: '#b22fb1',
    950: '#000000',
  },
}
SCSS
$custom: #b22fb1;
$custom-light: #cd75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b22fb1",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 300.458,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55617,
    "c": 0.21758,
    "h": 328.4
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#B22FB1
secondary
#77C678
accent
#E14846
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B22FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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