#96229C#96229C

#96229C is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.201 H 325.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#96229C
RGBrgb(150, 34, 156)
HSLhsl(297, 64%, 37%)
HSVhsv(297, 78%, 61%)
CMYKcmyk(3.8%, 78.2%, 0%, 38.8%)
CIE-LABlab(37.90, 60.81, -40.56)
CIE-LCHlch(37.90, 73.10, 326.30°)
OKLaboklab(49.13% 0.1667 -0.1129)
OKLCHoklch(49.13% 0.201 325.9)
XYZxyz(19.1501, 10.0297, 32.3733)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96229C #289C22
analogous
#59229C #96229C #9C2265
triadic
#96229C #9C9622 #229C96
tetradic
#96229C #9C5922 #289C22 #22659C
square
#96229C #9C5922 #289C22 #22659C
split-complementary
#96229C #659C22 #229C59
monochromatic
#350C38 #66176A #96229C #C62DCE #D55DDC

Accessibility & contrast

On white

6.99
#96229C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#96229C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96229C
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96229C#FFFFFF#000000##FFFFFF
##96229C1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#3F5E99
Tritanopia (blue-blind)
#9A385F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #96229c;
/* rgb */ color: rgb(150, 34, 156);
/* oklch */ color: oklch(49.1% 0.201 325.9);
Tailwind
colors: {
  custom: {
    50: '#b96cba',
    500: '#96229c',
    950: '#000000',
  },
}
SCSS
$custom: #96229c;
$custom-light: #b96cba;
$custom-dark: #000000;
JSON
{
  "hex": "#96229c",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 297.049,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49129,
    "c": 0.20131,
    "h": 325.9
  },
  "luminance": 0.10028
}

Semantic roles & 50–950 ramp

primary
#96229C
secondary
#5FC05A
accent
#E74149
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #96229C

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

Preview Lab → · Contrast checker → · Palette generator →

#96229C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva