#96229B#96229B

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

Color values

HEX#96229B
RGBrgb(150, 34, 155)
HSLhsl(298, 64%, 37%)
HSVhsv(298, 78%, 61%)
CMYKcmyk(3.2%, 78.1%, 0%, 39.2%)
CIE-LABlab(37.84, 60.64, -40.05)
CIE-LCHlch(37.84, 72.68, 326.55°)
OKLaboklab(49.07% 0.1667 -0.1114)
OKLCHoklch(49.07% 0.201 326.2)
XYZxyz(19.0657, 9.9960, 31.9292)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96229B #279B22
analogous
#5A229B #96229B #9B2263
triadic
#96229B #9B9622 #229B96
tetradic
#96229B #9B5A22 #279B22 #22639B
square
#96229B #9B5A22 #279B22 #22639B
split-complementary
#96229B #639B22 #229B5A
monochromatic
#350C37 #651769 #96229B #C72DCD #D65CDB

Accessibility & contrast

On white

7.00
#96229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#96229B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96229B
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96229B#FFFFFF#000000##FFFFFF
##96229B1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#405E98
Tritanopia (blue-blind)
#9A385E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #96229b;
/* rgb */ color: rgb(150, 34, 155);
/* oklch */ color: oklch(49.1% 0.201 326.2);
Tailwind
colors: {
  custom: {
    50: '#b96cb9',
    500: '#96229b',
    950: '#000000',
  },
}
SCSS
$custom: #96229b;
$custom-light: #b96cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#96229b",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 297.521,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49067,
    "c": 0.20053,
    "h": 326.2
  },
  "luminance": 0.09995
}

Semantic roles & 50–950 ramp

primary
#96229B
secondary
#5DC059
accent
#E74148
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #96229B

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

Preview Lab → · Contrast checker → · Palette generator →

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