#B22FBE#B22FBE

#B22FBE is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.4% C 0.228 H 324.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B22FBE
RGBrgb(178, 47, 190)
HSLhsl(295, 60%, 46%)
HSVhsv(295, 75%, 75%)
CMYKcmyk(6.3%, 75.3%, 0%, 25.5%)
CIE-LABlab(45.93, 68.38, -47.66)
CIE-LCHlch(45.93, 83.35, 325.13°)
OKLaboklab(56.39% 0.1848 -0.1329)
OKLCHoklch(56.39% 0.228 324.3)
XYZxyz(28.6701, 15.2175, 50.1324)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22FBE #3BBE2F
analogous
#6B2FBE #B22FBE #BE2F83
triadic
#B22FBE #BEB22F #2FBEB2
tetradic
#B22FBE #BE6B2F #3BBE2F #2F83BE
square
#B22FBE #BE6B2F #3BBE2F #2F83BE
split-complementary
#B22FBE #83BE2F #2FBE6B
monochromatic
#56175C #84238D #B22FBE #CA55D5 #DA86E1

Accessibility & contrast

On white

5.19
#B22FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B22FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22FBE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22FBE#FFFFFF#000000##FFFFFF
##B22FBE1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#4B72BB
Tritanopia (blue-blind)
#B54A75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b22fbe;
/* rgb */ color: rgb(178, 47, 190);
/* oklch */ color: oklch(56.4% 0.228 324.3);
Tailwind
colors: {
  custom: {
    50: '#cd76d2',
    500: '#b22fbe',
    950: '#000000',
  },
}
SCSS
$custom: #b22fbe;
$custom-light: #cd76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b22fbe",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 294.965,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56389,
    "c": 0.22764,
    "h": 324.3
  },
  "luminance": 0.15216
}

Semantic roles & 50–950 ramp

primary
#B22FBE
secondary
#85CB7E
accent
#E34452
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B22FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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