#96248A#96248A

#96248A is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.186 H 332.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#96248A
RGBrgb(150, 36, 138)
HSLhsl(306, 61%, 36%)
HSVhsv(306, 76%, 59%)
CMYKcmyk(0%, 76%, 8%, 41.2%)
CIE-LABlab(37.08, 57.24, -30.87)
CIE-LCHlch(37.08, 65.03, 331.66°)
OKLaboklab(48.22% 0.165 -0.0848)
OKLCHoklch(48.22% 0.186 332.8)
XYZxyz(17.7961, 9.5823, 24.9521)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96248A #249630
analogous
#692496 #96248A #962451
triadic
#96248A #8A9624 #248A96
tetradic
#96248A #966924 #249630 #245196
square
#96248A #966924 #249630 #245196
split-complementary
#96248A #519624 #249669
monochromatic
#330C2F #65185D #96248A #C730B7 #D85CCB

Accessibility & contrast

On white

7.20
#96248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#96248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96248A
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96248A#FFFFFF#000000##FFFFFF
##96248A1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96248a;
/* rgb */ color: rgb(150, 36, 138);
/* oklch */ color: oklch(48.2% 0.186 332.8);
Tailwind
colors: {
  custom: {
    50: '#b86cac',
    500: '#96248a',
    950: '#000000',
  },
}
SCSS
$custom: #96248a;
$custom-light: #b86cac;
$custom-dark: #000000;
JSON
{
  "hex": "#96248a",
  "rgb": {
    "r": 150,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 306.316,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48217,
    "c": 0.18551,
    "h": 332.8
  },
  "luminance": 0.09581
}

Semantic roles & 50–950 ramp

primary
#96248A
secondary
#59BD64
accent
#E45443
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96248A

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

Preview Lab → · Contrast checker → · Palette generator →

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