#96229F#96229F

#96229F is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.204 H 324.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#96229F
RGBrgb(150, 34, 159)
HSLhsl(296, 65%, 38%)
HSVhsv(296, 79%, 62%)
CMYKcmyk(5.7%, 78.6%, 0%, 37.6%)
CIE-LABlab(38.08, 61.33, -42.08)
CIE-LCHlch(38.08, 74.38, 325.54°)
OKLaboklab(49.32% 0.1665 -0.1173)
OKLCHoklch(49.32% 0.204 324.8)
XYZxyz(19.4072, 10.1326, 33.7278)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96229F #2B9F22
analogous
#57229F #96229F #9F2269
triadic
#96229F #9F9622 #229F96
tetradic
#96229F #9F5722 #2B9F22 #22699F
square
#96229F #9F5722 #2B9F22 #22699F
split-complementary
#96229F #699F22 #229F57
monochromatic
#370C3A #66176D #96229F #C62DD1 #D45FDD

Accessibility & contrast

On white

6.94
#96229F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#96229F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96229F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96229F#FFFFFF#000000##FFFFFF
##96229F1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#3D5E9C
Tritanopia (blue-blind)
#993A60
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #96229f;
/* rgb */ color: rgb(150, 34, 159);
/* oklch */ color: oklch(49.3% 0.204 324.8);
Tailwind
colors: {
  custom: {
    50: '#b96cbc',
    500: '#96229f',
    950: '#000000',
  },
}
SCSS
$custom: #96229f;
$custom-light: #b96cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#96229f",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 295.68,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49318,
    "c": 0.20368,
    "h": 324.8
  },
  "luminance": 0.10131
}

Semantic roles & 50–950 ramp

primary
#96229F
secondary
#63C15B
accent
#E8404C
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #96229F

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

Preview Lab → · Contrast checker → · Palette generator →

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