#96228B#96228B

#96228B is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.188 H 332.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#96228B
RGBrgb(150, 34, 139)
HSLhsl(306, 63%, 36%)
HSVhsv(306, 77%, 59%)
CMYKcmyk(0%, 77.3%, 7.3%, 41.2%)
CIE-LABlab(36.92, 58.02, -31.74)
CIE-LCHlch(36.92, 66.14, 331.32°)
OKLaboklab(48.12% 0.1669 -0.0873)
OKLCHoklch(48.12% 0.188 332.4)
XYZxyz(17.8100, 9.4937, 25.3155)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96228B #22962D
analogous
#672296 #96228B #962251
triadic
#96228B #8B9622 #228B96
tetradic
#96228B #966722 #22962D #225196
square
#96228B #966722 #22962D #225196
split-complementary
#96228B #519622 #229667
monochromatic
#320B2F #64175D #96228B #C82DB9 #D959CD

Accessibility & contrast

On white

7.25
#96228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96228B
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96228B#FFFFFF#000000##FFFFFF
##96228B1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8E
Deuteranopia (green-blind)
#495D88
Tritanopia (blue-blind)
#9D3055
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96228b;
/* rgb */ color: rgb(150, 34, 139);
/* oklch */ color: oklch(48.1% 0.188 332.4);
Tailwind
colors: {
  custom: {
    50: '#b96bad',
    500: '#96228b',
    950: '#000000',
  },
}
SCSS
$custom: #96228b;
$custom-light: #b96bad;
$custom-dark: #000000;
JSON
{
  "hex": "#96228b",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 305.69,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48117,
    "c": 0.18833,
    "h": 332.4
  },
  "luminance": 0.09492
}

Semantic roles & 50–950 ramp

primary
#96228B
secondary
#56BE60
accent
#E65142
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96228B

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

Preview Lab → · Contrast checker → · Palette generator →

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