#B22EBD#B22EBD

#B22EBD is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.3% C 0.228 H 324.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B22EBD
RGBrgb(178, 46, 189)
HSLhsl(295, 61%, 46%)
HSVhsv(295, 76%, 74%)
CMYKcmyk(5.8%, 75.7%, 0%, 25.9%)
CIE-LABlab(45.76, 68.52, -47.34)
CIE-LCHlch(45.76, 83.29, 325.36°)
OKLaboklab(56.25% 0.1857 -0.132)
OKLCHoklch(56.25% 0.228 324.6)
XYZxyz(28.5217, 15.0949, 49.5456)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22EBD #39BD2E
analogous
#6A2EBD #B22EBD #BD2E80
triadic
#B22EBD #BDB22E #2EBDB2
tetradic
#B22EBD #BD6A2E #39BD2E #2E80BD
square
#B22EBD #BD6A2E #39BD2E #2E80BD
split-complementary
#B22EBD #80BD2E #2EBD6A
monochromatic
#55165B #84228C #B22EBD #CB53D5 #DA84E1

Accessibility & contrast

On white

5.23
#B22EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B22EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22EBD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22EBD#FFFFFF#000000##FFFFFF
##B22EBD1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#4B72BA
Tritanopia (blue-blind)
#B64874
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b22ebd;
/* rgb */ color: rgb(178, 46, 189);
/* oklch */ color: oklch(56.3% 0.228 324.6);
Tailwind
colors: {
  custom: {
    50: '#cd75d1',
    500: '#b22ebd',
    950: '#000000',
  },
}
SCSS
$custom: #b22ebd;
$custom-light: #cd75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b22ebd",
  "rgb": {
    "r": 178,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 295.385,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56251,
    "c": 0.22784,
    "h": 324.6
  },
  "luminance": 0.15093
}

Semantic roles & 50–950 ramp

primary
#B22EBD
secondary
#82CA7C
accent
#E44450
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B22EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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