#96228E#96228E

#96228E is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.191 H 331.2°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#96228E
RGBrgb(150, 34, 142)
HSLhsl(304, 63%, 36%)
HSVhsv(304, 77%, 59%)
CMYKcmyk(0%, 77.3%, 5.3%, 41.2%)
CIE-LABlab(37.08, 58.50, -33.33)
CIE-LCHlch(37.08, 67.33, 330.33°)
OKLaboklab(48.29% 0.1669 -0.0919)
OKLCHoklch(48.29% 0.191 331.2)
XYZxyz(18.0322, 9.5825, 26.4858)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96228E #22962A
analogous
#642296 #96228E #962254
triadic
#96228E #8E9622 #228E96
tetradic
#96228E #966422 #22962A #225496
square
#96228E #966422 #22962A #225496
split-complementary
#96228E #549622 #229664
monochromatic
#320B30 #64175F #96228E #C82DBD #D959D1

Accessibility & contrast

On white

7.20
#96228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#96228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96228E
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96228E#FFFFFF#000000##FFFFFF
##96228E1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D91
Deuteranopia (green-blind)
#485D8B
Tritanopia (blue-blind)
#9C3157
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96228e;
/* rgb */ color: rgb(150, 34, 142);
/* oklch */ color: oklch(48.3% 0.191 331.2);
Tailwind
colors: {
  custom: {
    50: '#b96baf',
    500: '#96228e',
    950: '#000000',
  },
}
SCSS
$custom: #96228e;
$custom-light: #b96baf;
$custom-dark: #000000;
JSON
{
  "hex": "#96228e",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 304.138,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48288,
    "c": 0.19056,
    "h": 331.2
  },
  "luminance": 0.09581
}

Semantic roles & 50–950 ramp

primary
#96228E
secondary
#56BE5D
accent
#E64D42
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96228E

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

Preview Lab → · Contrast checker → · Palette generator →

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