#96298E#96298E

#96298E is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.183 H 331.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#96298E
RGBrgb(150, 41, 142)
HSLhsl(304, 57%, 37%)
HSVhsv(304, 73%, 59%)
CMYKcmyk(0%, 72.7%, 5.3%, 41.2%)
CIE-LABlab(37.89, 56.20, -32.06)
CIE-LCHlch(37.89, 64.70, 330.30°)
OKLaboklab(48.86% 0.1603 -0.0883)
OKLCHoklch(48.86% 0.183 331.2)
XYZxyz(18.2531, 10.0243, 26.5595)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96298E #299631
analogous
#682996 #96298E #962957
triadic
#96298E #8E9629 #298E96
tetradic
#96298E #966829 #299631 #295796
square
#96298E #966829 #299631 #295796
split-complementary
#96298E #579629 #299668
monochromatic
#360F33 #661C61 #96298E #C636BB #D565CD

Accessibility & contrast

On white

6.99
#96298E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#96298E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96298E
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96298E#FFFFFF#000000##FFFFFF
##96298E1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F91
Deuteranopia (green-blind)
#4B5E8B
Tritanopia (blue-blind)
#9C3659
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #96298e;
/* rgb */ color: rgb(150, 41, 142);
/* oklch */ color: oklch(48.9% 0.183 331.2);
Tailwind
colors: {
  custom: {
    50: '#b86eaf',
    500: '#96298e',
    950: '#000000',
  },
}
SCSS
$custom: #96298e;
$custom-light: #b86eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#96298e",
  "rgb": {
    "r": 150,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 304.404,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48864,
    "c": 0.183,
    "h": 331.2
  },
  "luminance": 0.10023
}

Semantic roles & 50–950 ramp

primary
#96298E
secondary
#60BB67
accent
#E05347
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #96298E

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

Preview Lab → · Contrast checker → · Palette generator →

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