#96239B#96239B

#96239B is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.200 H 326.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#96239B
RGBrgb(150, 35, 155)
HSLhsl(298, 63%, 37%)
HSVhsv(298, 77%, 61%)
CMYKcmyk(3.2%, 77.4%, 0%, 39.2%)
CIE-LABlab(37.94, 60.34, -39.89)
CIE-LCHlch(37.94, 72.33, 326.53°)
OKLaboklab(49.14% 0.1659 -0.1109)
OKLCHoklch(49.14% 0.2 326.2)
XYZxyz(19.0947, 10.0540, 31.9389)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96239B #289B23
analogous
#5A239B #96239B #9B2364
triadic
#96239B #9B9623 #239B96
tetradic
#96239B #9B5A23 #289B23 #23649B
square
#96239B #9B5A23 #289B23 #23649B
split-complementary
#96239B #649B23 #239B5A
monochromatic
#350C37 #661869 #96239B #C62ECD #D55EDB

Accessibility & contrast

On white

6.98
#96239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#96239B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96239B
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96239B#FFFFFF#000000##FFFFFF
##96239B1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.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: #96239b;
/* rgb */ color: rgb(150, 35, 155);
/* oklch */ color: oklch(49.1% 0.200 326.2);
Tailwind
colors: {
  custom: {
    50: '#b96cb9',
    500: '#96239b',
    950: '#000000',
  },
}
SCSS
$custom: #96239b;
$custom-light: #b96cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#96239b",
  "rgb": {
    "r": 150,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 297.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49141,
    "c": 0.19957,
    "h": 326.2
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#96239B
secondary
#5FBF5A
accent
#E64248
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #96239B

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

Preview Lab → · Contrast checker → · Palette generator →

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