#96238E#96238E

#96238E is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.190 H 331.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#96238E
RGBrgb(150, 35, 142)
HSLhsl(304, 62%, 36%)
HSVhsv(304, 77%, 59%)
CMYKcmyk(0%, 76.7%, 5.3%, 41.2%)
CIE-LABlab(37.19, 58.19, -33.16)
CIE-LCHlch(37.19, 66.98, 330.33°)
OKLaboklab(48.36% 0.1661 -0.0914)
OKLCHoklch(48.36% 0.19 331.2)
XYZxyz(18.0612, 9.6406, 26.4955)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96238E #23962B
analogous
#652396 #96238E #962355
triadic
#96238E #8E9623 #238E96
tetradic
#96238E #966523 #23962B #235596
square
#96238E #966523 #23962B #235596
split-complementary
#96238E #559623 #239665
monochromatic
#330C30 #64175F #96238E #C82FBD #D95BD0

Accessibility & contrast

On white

7.17
#96238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#96238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96238E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96238E#FFFFFF#000000##FFFFFF
##96238E1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D91
Deuteranopia (green-blind)
#485D8B
Tritanopia (blue-blind)
#9C3257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96238e;
/* rgb */ color: rgb(150, 35, 142);
/* oklch */ color: oklch(48.4% 0.190 331.2);
Tailwind
colors: {
  custom: {
    50: '#b86baf',
    500: '#96238e',
    950: '#000000',
  },
}
SCSS
$custom: #96238e;
$custom-light: #b86baf;
$custom-dark: #000000;
JSON
{
  "hex": "#96238e",
  "rgb": {
    "r": 150,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 304.174,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48364,
    "c": 0.18955,
    "h": 331.2
  },
  "luminance": 0.09639
}

Semantic roles & 50–950 ramp

primary
#96238E
secondary
#58BD5F
accent
#E54E43
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96238E

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

Preview Lab → · Contrast checker → · Palette generator →

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