#96228A#96228A

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

Color values

HEX#96228A
RGBrgb(150, 34, 138)
HSLhsl(306, 63%, 36%)
HSVhsv(306, 77%, 59%)
CMYKcmyk(0%, 77.3%, 8%, 41.2%)
CIE-LABlab(36.86, 57.87, -31.21)
CIE-LCHlch(36.86, 65.75, 331.66°)
OKLaboklab(48.06% 0.1668 -0.0858)
OKLCHoklch(48.06% 0.188 332.8)
XYZxyz(17.7372, 9.4646, 24.9325)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96228A #22962E
analogous
#682296 #96228A #962250
triadic
#96228A #8A9622 #228A96
tetradic
#96228A #966822 #22962E #225096
square
#96228A #966822 #22962E #225096
split-complementary
#96228A #509622 #229668
monochromatic
#320B2E #64175C #96228A #C82DB8 #D959CC

Accessibility & contrast

On white

7.26
#96228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#96228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96228A
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96228A#FFFFFF#000000##FFFFFF
##96228A1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#4A5C87
Tritanopia (blue-blind)
#9D2F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96228a;
/* rgb */ color: rgb(150, 34, 138);
/* oklch */ color: oklch(48.1% 0.188 332.8);
Tailwind
colors: {
  custom: {
    50: '#b96bac',
    500: '#96228a',
    950: '#000000',
  },
}
SCSS
$custom: #96228a;
$custom-light: #b96bac;
$custom-dark: #000000;
JSON
{
  "hex": "#96228a",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 306.207,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4806,
    "c": 0.18759,
    "h": 332.8
  },
  "luminance": 0.09463
}

Semantic roles & 50–950 ramp

primary
#96228A
secondary
#56BE61
accent
#E65342
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96228A

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

Preview Lab → · Contrast checker → · Palette generator →

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