#96238D#96238D

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

Color values

HEX#96238D
RGBrgb(150, 35, 141)
HSLhsl(305, 62%, 36%)
HSVhsv(305, 77%, 59%)
CMYKcmyk(0%, 76.7%, 6%, 41.2%)
CIE-LABlab(37.13, 58.03, -32.63)
CIE-LCHlch(37.13, 66.58, 330.65°)
OKLaboklab(48.31% 0.166 -0.0899)
OKLCHoklch(48.31% 0.189 331.6)
XYZxyz(17.9864, 9.6107, 26.1019)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96238D #23962C
analogous
#662396 #96238D #962354
triadic
#96238D #8D9623 #238D96
tetradic
#96238D #966623 #23962C #235496
square
#96238D #966623 #23962C #235496
split-complementary
#96238D #549623 #239666
monochromatic
#330C30 #64175E #96238D #C82FBC #D95BCF

Accessibility & contrast

On white

7.19
#96238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96238D
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96238D#FFFFFF#000000##FFFFFF
##96238D1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194D90
Deuteranopia (green-blind)
#495D8A
Tritanopia (blue-blind)
#9C3156
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96238d;
/* rgb */ color: rgb(150, 35, 141);
/* oklch */ color: oklch(48.3% 0.189 331.6);
Tailwind
colors: {
  custom: {
    50: '#b86baf',
    500: '#96238d',
    950: '#000000',
  },
}
SCSS
$custom: #96238d;
$custom-light: #b86baf;
$custom-dark: #000000;
JSON
{
  "hex": "#96238d",
  "rgb": {
    "r": 150,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 304.696,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48307,
    "c": 0.18879,
    "h": 331.6
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #96238D

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

Preview Lab → · Contrast checker → · Palette generator →

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