#96248C#96248C

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

Color values

HEX#96248C
RGBrgb(150, 36, 140)
HSLhsl(305, 61%, 36%)
HSVhsv(305, 76%, 59%)
CMYKcmyk(0%, 76%, 6.7%, 41.2%)
CIE-LABlab(37.19, 57.56, -31.93)
CIE-LCHlch(37.19, 65.82, 330.98°)
OKLaboklab(48.33% 0.1651 -0.0878)
OKLCHoklch(48.33% 0.187 332)
XYZxyz(17.9422, 9.6407, 25.7217)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96248C #24962E
analogous
#672496 #96248C #962453
triadic
#96248C #8C9624 #248C96
tetradic
#96248C #966724 #24962E #245396
square
#96248C #966724 #24962E #245396
split-complementary
#96248C #539624 #249667
monochromatic
#330C30 #65185E #96248C #C730BA #D85CCD

Accessibility & contrast

On white

7.17
#96248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#96248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96248C
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96248C#FFFFFF#000000##FFFFFF
##96248C1.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)
#1C4D8F
Deuteranopia (green-blind)
#495D89
Tritanopia (blue-blind)
#9C3156
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96248c;
/* rgb */ color: rgb(150, 36, 140);
/* oklch */ color: oklch(48.3% 0.187 332.0);
Tailwind
colors: {
  custom: {
    50: '#b86cae',
    500: '#96248c',
    950: '#000000',
  },
}
SCSS
$custom: #96248c;
$custom-light: #b86cae;
$custom-dark: #000000;
JSON
{
  "hex": "#96248c",
  "rgb": {
    "r": 150,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 305.263,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48329,
    "c": 0.18701,
    "h": 332
  },
  "luminance": 0.09639
}

Semantic roles & 50–950 ramp

primary
#96248C
secondary
#59BD62
accent
#E45243
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #96248C

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

Preview Lab → · Contrast checker → · Palette generator →

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