#96238A#96238A

#96238A is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.187 H 332.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#96238A
RGBrgb(150, 35, 138)
HSLhsl(306, 62%, 36%)
HSVhsv(306, 77%, 59%)
CMYKcmyk(0%, 76.7%, 8%, 41.2%)
CIE-LABlab(36.97, 57.56, -31.04)
CIE-LCHlch(36.97, 65.40, 331.66°)
OKLaboklab(48.14% 0.1659 -0.0853)
OKLCHoklch(48.14% 0.187 332.8)
XYZxyz(17.7662, 9.5226, 24.9422)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96238A #23962F
analogous
#692396 #96238A #962351
triadic
#96238A #8A9623 #238A96
tetradic
#96238A #966923 #23962F #235196
square
#96238A #966923 #23962F #235196
split-complementary
#96238A #519623 #239669
monochromatic
#330C2F #64175C #96238A #C82FB8 #D95BCC

Accessibility & contrast

On white

7.23
#96238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#96238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96238A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96238A#FFFFFF#000000##FFFFFF
##96238A1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8D
Deuteranopia (green-blind)
#4A5D87
Tritanopia (blue-blind)
#9D3055
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96238a;
/* rgb */ color: rgb(150, 35, 138);
/* oklch */ color: oklch(48.1% 0.187 332.8);
Tailwind
colors: {
  custom: {
    50: '#b86bac',
    500: '#96238a',
    950: '#000000',
  },
}
SCSS
$custom: #96238a;
$custom-light: #b86bac;
$custom-dark: #000000;
JSON
{
  "hex": "#96238a",
  "rgb": {
    "r": 150,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 306.261,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48138,
    "c": 0.18657,
    "h": 332.8
  },
  "luminance": 0.09521
}

Semantic roles & 50–950 ramp

primary
#96238A
secondary
#58BD62
accent
#E55443
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96238A

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

Preview Lab → · Contrast checker → · Palette generator →

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