#B222BD#B222BD

#B222BD is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.5% C 0.238 H 324.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B222BD
RGBrgb(178, 34, 189)
HSLhsl(296, 70%, 44%)
HSVhsv(296, 82%, 74%)
CMYKcmyk(5.8%, 82%, 0%, 25.9%)
CIE-LABlab(44.64, 71.78, -49.14)
CIE-LCHlch(44.64, 86.99, 325.60°)
OKLaboklab(55.45% 0.1947 -0.1372)
OKLCHoklch(55.45% 0.238 324.8)
XYZxyz(28.1167, 14.2851, 49.4106)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B222BD #2DBD22
analogous
#6422BD #B222BD #BD227A
triadic
#B222BD #BDB222 #22BDB2
tetradic
#B222BD #BD6422 #2DBD22 #227ABD
square
#B222BD #BD6422 #2DBD22 #227ABD
split-complementary
#B222BD #7ABD22 #22BD64
monochromatic
#500F55 #811989 #B222BD #D140DD #DE73E6

Accessibility & contrast

On white

5.45
#B222BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B222BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B222BD
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B222BD#FFFFFF#000000##FFFFFF
##B222BD1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#466FBA
Tritanopia (blue-blind)
#B64272
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b222bd;
/* rgb */ color: rgb(178, 34, 189);
/* oklch */ color: oklch(55.5% 0.238 324.8);
Tailwind
colors: {
  custom: {
    50: '#cd71d1',
    500: '#b222bd',
    950: '#000000',
  },
}
SCSS
$custom: #b222bd;
$custom-light: #cd71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b222bd",
  "rgb": {
    "r": 178,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 295.742,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55454,
    "c": 0.23816,
    "h": 324.8
  },
  "luminance": 0.14283
}

Semantic roles & 50–950 ramp

primary
#B222BD
secondary
#75CD6E
accent
#EC3B48
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B222BD

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

Preview Lab → · Contrast checker → · Palette generator →

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