#B22FB0#B22FB0

#B22FB0 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.217 H 328.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B22FB0
RGBrgb(178, 47, 176)
HSLhsl(301, 58%, 44%)
HSVhsv(301, 74%, 70%)
CMYKcmyk(0%, 73.6%, 1.1%, 30.2%)
CIE-LABlab(45.13, 66.06, -40.72)
CIE-LCHlch(45.13, 77.60, 328.35°)
OKLaboklab(55.56% 0.1852 -0.1127)
OKLCHoklch(55.56% 0.217 328.7)
XYZxyz(27.2128, 14.6346, 42.4574)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22FB0 #2FB231
analogous
#732FB2 #B22FB0 #B22F6F
triadic
#B22FB0 #B0B22F #2FB0B2
tetradic
#B22FB0 #B2732F #2FB231 #2F6FB2
square
#B22FB0 #B2732F #2FB231 #2F6FB2
split-complementary
#B22FB0 #6FB22F #2FB273
monochromatic
#511550 #822280 #B22FB0 #D04ECE #DD7EDC

Accessibility & contrast

On white

5.35
#B22FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22FB0
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22FB0#FFFFFF#000000##FFFFFF
##B22FB01.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1760B4
Deuteranopia (green-blind)
#5471AD
Tritanopia (blue-blind)
#B8436D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b22fb0;
/* rgb */ color: rgb(178, 47, 176);
/* oklch */ color: oklch(55.6% 0.217 328.7);
Tailwind
colors: {
  custom: {
    50: '#cd75c8',
    500: '#b22fb0',
    950: '#000000',
  },
}
SCSS
$custom: #b22fb0;
$custom-light: #cd75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b22fb0",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 300.916,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5556,
    "c": 0.21683,
    "h": 328.7
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B22FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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