#96228D#96228D

#96228D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.190 H 331.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#96228D
RGBrgb(150, 34, 141)
HSLhsl(305, 63%, 36%)
HSVhsv(305, 77%, 59%)
CMYKcmyk(0%, 77.3%, 6%, 41.2%)
CIE-LABlab(37.03, 58.34, -32.80)
CIE-LCHlch(37.03, 66.93, 330.65°)
OKLaboklab(48.23% 0.1669 -0.0904)
OKLCHoklch(48.23% 0.19 331.6)
XYZxyz(17.9574, 9.5527, 26.0922)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96228D #22962B
analogous
#652296 #96228D #962253
triadic
#96228D #8D9622 #228D96
tetradic
#96228D #966522 #22962B #225396
square
#96228D #966522 #22962B #225396
split-complementary
#96228D #539622 #229665
monochromatic
#320B2F #64175E #96228D #C82DBC #D959CF

Accessibility & contrast

On white

7.22
#96228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#96228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96228D
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96228D#FFFFFF#000000##FFFFFF
##96228D1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D90
Deuteranopia (green-blind)
#485D8A
Tritanopia (blue-blind)
#9C3156
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96228d;
/* rgb */ color: rgb(150, 34, 141);
/* oklch */ color: oklch(48.2% 0.190 331.6);
Tailwind
colors: {
  custom: {
    50: '#b96baf',
    500: '#96228d',
    950: '#000000',
  },
}
SCSS
$custom: #96228d;
$custom-light: #b96baf;
$custom-dark: #000000;
JSON
{
  "hex": "#96228d",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 304.655,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4823,
    "c": 0.18982,
    "h": 331.6
  },
  "luminance": 0.09551
}

Semantic roles & 50–950 ramp

primary
#96228D
secondary
#56BE5E
accent
#E64E42
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96228D

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

Preview Lab → · Contrast checker → · Palette generator →

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