#96238C#96238C

#96238C is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.188 H 332.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#96238C
RGBrgb(150, 35, 140)
HSLhsl(305, 62%, 36%)
HSVhsv(305, 77%, 59%)
CMYKcmyk(0%, 76.7%, 6.7%, 41.2%)
CIE-LABlab(37.08, 57.87, -32.10)
CIE-LCHlch(37.08, 66.18, 330.98°)
OKLaboklab(48.25% 0.166 -0.0883)
OKLCHoklch(48.25% 0.188 332)
XYZxyz(17.9124, 9.5810, 25.7118)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96238C #23962D
analogous
#672396 #96238C #962353
triadic
#96238C #8C9623 #238C96
tetradic
#96238C #966723 #23962D #235396
square
#96238C #966723 #23962D #235396
split-complementary
#96238C #539623 #239667
monochromatic
#330C2F #64175E #96238C #C82FBA #D95BCE

Accessibility & contrast

On white

7.20
#96238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#96238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96238C
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96238C#FFFFFF#000000##FFFFFF
##96238C1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D8F
Deuteranopia (green-blind)
#495D89
Tritanopia (blue-blind)
#9C3156
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96238c;
/* rgb */ color: rgb(150, 35, 140);
/* oklch */ color: oklch(48.3% 0.188 332.0);
Tailwind
colors: {
  custom: {
    50: '#b86bae',
    500: '#96238c',
    950: '#000000',
  },
}
SCSS
$custom: #96238c;
$custom-light: #b86bae;
$custom-dark: #000000;
JSON
{
  "hex": "#96238c",
  "rgb": {
    "r": 150,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 305.217,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4825,
    "c": 0.18805,
    "h": 332
  },
  "luminance": 0.0958
}

Semantic roles & 50–950 ramp

primary
#96238C
secondary
#58BD60
accent
#E55143
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96238C

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

Preview Lab → · Contrast checker → · Palette generator →

#96238C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva