#96228C#96228C

#96228C is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.189 H 332.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#96228C
RGBrgb(150, 34, 140)
HSLhsl(305, 63%, 36%)
HSVhsv(305, 77%, 59%)
CMYKcmyk(0%, 77.3%, 6.7%, 41.2%)
CIE-LABlab(36.97, 58.18, -32.27)
CIE-LCHlch(36.97, 66.53, 330.98°)
OKLaboklab(48.17% 0.1669 -0.0888)
OKLCHoklch(48.17% 0.189 332)
XYZxyz(17.8834, 9.5230, 25.7021)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96228C #22962C
analogous
#662296 #96228C #962252
triadic
#96228C #8C9622 #228C96
tetradic
#96228C #966622 #22962C #225296
square
#96228C #966622 #22962C #225296
split-complementary
#96228C #529622 #229666
monochromatic
#320B2F #64175D #96228C #C82DBB #D959CE

Accessibility & contrast

On white

7.23
#96228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#96228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96228C
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96228C#FFFFFF#000000##FFFFFF
##96228C1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194D8F
Deuteranopia (green-blind)
#495D89
Tritanopia (blue-blind)
#9D3056
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96228c;
/* rgb */ color: rgb(150, 34, 140);
/* oklch */ color: oklch(48.2% 0.189 332.0);
Tailwind
colors: {
  custom: {
    50: '#b96bae',
    500: '#96228c',
    950: '#000000',
  },
}
SCSS
$custom: #96228c;
$custom-light: #b96bae;
$custom-dark: #000000;
JSON
{
  "hex": "#96228c",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 305.172,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48173,
    "c": 0.18907,
    "h": 332
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#96228C
secondary
#56BE5F
accent
#E65042
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96228C

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

Preview Lab → · Contrast checker → · Palette generator →

#96228C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva