#96238F#96238F

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

Color values

HEX#96238F
RGBrgb(150, 35, 143)
HSLhsl(304, 62%, 36%)
HSVhsv(304, 77%, 59%)
CMYKcmyk(0%, 76.7%, 4.7%, 41.2%)
CIE-LABlab(37.24, 58.35, -33.68)
CIE-LCHlch(37.24, 67.38, 330.01°)
OKLaboklab(48.42% 0.1661 -0.0929)
OKLCHoklch(48.42% 0.19 330.8)
XYZxyz(18.1366, 9.6707, 26.8927)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96238F #23962A
analogous
#642396 #96238F #962356
triadic
#96238F #8F9623 #238F96
tetradic
#96238F #966423 #23962A #235696
square
#96238F #966423 #23962A #235696
split-complementary
#96238F #569623 #239664
monochromatic
#330C30 #641760 #96238F #C82FBE #D95BD1

Accessibility & contrast

On white

7.16
#96238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96238F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96238F#FFFFFF#000000##FFFFFF
##96238F1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164E92
Deuteranopia (green-blind)
#475D8C
Tritanopia (blue-blind)
#9C3258
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #96238f;
/* rgb */ color: rgb(150, 35, 143);
/* oklch */ color: oklch(48.4% 0.190 330.8);
Tailwind
colors: {
  custom: {
    50: '#b86bb0',
    500: '#96238f',
    950: '#000000',
  },
}
SCSS
$custom: #96238f;
$custom-light: #b86bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#96238f",
  "rgb": {
    "r": 150,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 303.652,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48422,
    "c": 0.19031,
    "h": 330.8
  },
  "luminance": 0.09669
}

Semantic roles & 50–950 ramp

primary
#96238F
secondary
#58BD5E
accent
#E54C43
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #96238F

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

Preview Lab → · Contrast checker → · Palette generator →

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