#96228F#96228F

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

Color values

HEX#96228F
RGBrgb(150, 34, 143)
HSLhsl(304, 63%, 36%)
HSVhsv(304, 77%, 59%)
CMYKcmyk(0%, 77.3%, 4.7%, 41.2%)
CIE-LABlab(37.14, 58.66, -33.85)
CIE-LCHlch(37.14, 67.73, 330.01°)
OKLaboklab(48.35% 0.167 -0.0934)
OKLCHoklch(48.35% 0.191 330.8)
XYZxyz(18.1076, 9.6127, 26.8830)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96228F #229629
analogous
#632296 #96228F #962255
triadic
#96228F #8F9622 #228F96
tetradic
#96228F #966322 #229629 #225596
square
#96228F #966322 #229629 #225596
split-complementary
#96228F #559622 #229663
monochromatic
#320B30 #64175F #96228F #C82DBF #D959D2

Accessibility & contrast

On white

7.19
#96228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96228F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96228F#FFFFFF#000000##FFFFFF
##96228F1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D92
Deuteranopia (green-blind)
#475D8C
Tritanopia (blue-blind)
#9C3257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96228f;
/* rgb */ color: rgb(150, 34, 143);
/* oklch */ color: oklch(48.3% 0.191 330.8);
Tailwind
colors: {
  custom: {
    50: '#b96bb0',
    500: '#96228f',
    950: '#000000',
  },
}
SCSS
$custom: #96228f;
$custom-light: #b96bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#96228f",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 303.621,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48345,
    "c": 0.19131,
    "h": 330.8
  },
  "luminance": 0.09611
}

Semantic roles & 50–950 ramp

primary
#96228F
secondary
#56BE5C
accent
#E64C42
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #96228F

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

Preview Lab → · Contrast checker → · Palette generator →

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