#B222D3#B222D3

#B222D3 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.9% C 0.255 H 318.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B222D3
RGBrgb(178, 34, 211)
HSLhsl(289, 72%, 48%)
HSVhsv(289, 84%, 83%)
CMYKcmyk(15.6%, 83.9%, 0%, 17.3%)
CIE-LABlab(46.06, 75.51, -59.62)
CIE-LCHlch(46.06, 96.21, 321.71°)
OKLaboklab(56.9% 0.1916 -0.1678)
OKLCHoklch(56.9% 0.255 318.8)
XYZxyz(30.6884, 15.3137, 62.9548)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B222D3 #43D322
analogous
#5A22D3 #B222D3 #D3229B
triadic
#B222D3 #D3B222 #22D3B2
tetradic
#B222D3 #D35A22 #43D322 #229BD3
square
#B222D3 #D35A22 #43D322 #229BD3
split-complementary
#B222D3 #9BD322 #22D35A
monochromatic
#59116A #861A9E #B222D3 #C74FE3 #D884EB

Accessibility & contrast

On white

5.17
#B222D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B222D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B222D3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B222D3#FFFFFF#000000##FFFFFF
##B222D31.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#2F71CF
Tritanopia (blue-blind)
#B14E7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b222d3;
/* rgb */ color: rgb(178, 34, 211);
/* oklch */ color: oklch(56.9% 0.255 318.8);
Tailwind
colors: {
  custom: {
    50: '#ce72e1',
    500: '#b222d3',
    950: '#000000',
  },
}
SCSS
$custom: #b222d3;
$custom-light: #ce72e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b222d3",
  "rgb": {
    "r": 178,
    "g": 34,
    "b": 211
  },
  "hsl": {
    "h": 288.814,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56905,
    "c": 0.25473,
    "h": 318.8
  },
  "luminance": 0.15312
}

Semantic roles & 50–950 ramp

primary
#B222D3
secondary
#8DD47D
accent
#EF395B
background
#FDF7FD
surface
#FAEDFB
border
#D3C8D4
text
#140915
muted
#837B83

Preview Lab

Preview with #B222D3

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

Preview Lab → · Contrast checker → · Palette generator →

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