#96229D#96229D

#96229D is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.202 H 325.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#96229D
RGBrgb(150, 34, 157)
HSLhsl(297, 64%, 37%)
HSVhsv(297, 78%, 62%)
CMYKcmyk(4.5%, 78.3%, 0%, 38.4%)
CIE-LABlab(37.96, 60.98, -41.07)
CIE-LCHlch(37.96, 73.52, 326.04°)
OKLaboklab(49.19% 0.1666 -0.1144)
OKLCHoklch(49.19% 0.202 325.5)
XYZxyz(19.2351, 10.0637, 32.8211)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96229D #299D22
analogous
#58229D #96229D #9D2267
triadic
#96229D #9D9622 #229D96
tetradic
#96229D #9D5822 #299D22 #22679D
square
#96229D #9D5822 #299D22 #22679D
split-complementary
#96229D #679D22 #229D58
monochromatic
#360C38 #66176B #96229D #C62DCF #D55DDC

Accessibility & contrast

On white

6.97
#96229D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #96229D
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96229D#FFFFFF#000000##FFFFFF
##96229D1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#3E5E9A
Tritanopia (blue-blind)
#9A395F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #96229d;
/* rgb */ color: rgb(150, 34, 157);
/* oklch */ color: oklch(49.2% 0.202 325.5);
Tailwind
colors: {
  custom: {
    50: '#b96cba',
    500: '#96229d',
    950: '#000000',
  },
}
SCSS
$custom: #96229d;
$custom-light: #b96cba;
$custom-dark: #000000;
JSON
{
  "hex": "#96229d",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 296.585,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49192,
    "c": 0.2021,
    "h": 325.5
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#96229D
secondary
#60C15A
accent
#E7404A
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #96229D

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

Preview Lab → · Contrast checker → · Palette generator →

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