#96229E#96229E

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

Color values

HEX#96229E
RGBrgb(150, 34, 158)
HSLhsl(296, 65%, 38%)
HSVhsv(296, 78%, 62%)
CMYKcmyk(5.1%, 78.5%, 0%, 38%)
CIE-LABlab(38.02, 61.15, -41.58)
CIE-LCHlch(38.02, 73.95, 325.79°)
OKLaboklab(49.26% 0.1666 -0.1159)
OKLCHoklch(49.26% 0.203 325.2)
XYZxyz(19.3208, 10.0980, 33.2726)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96229E #2A9E22
analogous
#58229E #96229E #9E2268
triadic
#96229E #9E9622 #229E96
tetradic
#96229E #9E5822 #2A9E22 #22689E
square
#96229E #9E5822 #2A9E22 #22689E
split-complementary
#96229E #689E22 #229E58
monochromatic
#360C39 #66176C #96229E #C62DD0 #D45EDC

Accessibility & contrast

On white

6.96
#96229E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#96229E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96229E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96229E#FFFFFF#000000##FFFFFF
##96229E1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#3E5E9B
Tritanopia (blue-blind)
#993960
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #96229e;
/* rgb */ color: rgb(150, 34, 158);
/* oklch */ color: oklch(49.3% 0.203 325.2);
Tailwind
colors: {
  custom: {
    50: '#b96cbb',
    500: '#96229e',
    950: '#000000',
  },
}
SCSS
$custom: #96229e;
$custom-light: #b96cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#96229e",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 296.129,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49255,
    "c": 0.20289,
    "h": 325.2
  },
  "luminance": 0.10097
}

Semantic roles & 50–950 ramp

primary
#96229E
secondary
#61C15B
accent
#E8404B
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #96229E

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

Preview Lab → · Contrast checker → · Palette generator →

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