#B22EBF#B22EBF

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

Color values

HEX#B22EBF
RGBrgb(178, 46, 191)
HSLhsl(295, 61%, 46%)
HSVhsv(295, 76%, 75%)
CMYKcmyk(6.8%, 75.9%, 0%, 25.1%)
CIE-LABlab(45.88, 68.86, -48.32)
CIE-LCHlch(45.88, 84.12, 324.94°)
OKLaboklab(56.37% 0.1856 -0.1348)
OKLCHoklch(56.37% 0.229 324)
XYZxyz(28.7403, 15.1824, 50.6968)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22EBF #3BBF2E
analogous
#6A2EBF #B22EBF #BF2E84
triadic
#B22EBF #BFB22E #2EBFB2
tetradic
#B22EBF #BF6A2E #3BBF2E #2E84BF
square
#B22EBF #BF6A2E #3BBF2E #2E84BF
split-complementary
#B22EBF #84BF2E #2EBF6A
monochromatic
#56165C #84228E #B22EBF #CA54D6 #DA86E2

Accessibility & contrast

On white

5.20
#B22EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B22EBF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22EBF#FFFFFF#000000##FFFFFF
##B22EBF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#4A72BC
Tritanopia (blue-blind)
#B54975
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b22ebf;
/* rgb */ color: rgb(178, 46, 191);
/* oklch */ color: oklch(56.4% 0.229 324.0);
Tailwind
colors: {
  custom: {
    50: '#cd76d3',
    500: '#b22ebf',
    950: '#000000',
  },
}
SCSS
$custom: #b22ebf;
$custom-light: #cd76d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b22ebf",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 294.621,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56374,
    "c": 0.2294,
    "h": 324
  },
  "luminance": 0.15181
}

Semantic roles & 50–950 ramp

primary
#B22EBF
secondary
#85CB7E
accent
#E44452
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140914
muted
#837B83

Preview Lab

Preview with #B22EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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