#96298D#96298D

#96298D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.182 H 331.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#96298D
RGBrgb(150, 41, 141)
HSLhsl(305, 57%, 37%)
HSVhsv(305, 73%, 59%)
CMYKcmyk(0%, 72.7%, 6%, 41.2%)
CIE-LABlab(37.83, 56.04, -31.53)
CIE-LCHlch(37.83, 64.30, 330.64°)
OKLaboklab(48.81% 0.1603 -0.0867)
OKLCHoklch(48.81% 0.182 331.6)
XYZxyz(18.1783, 9.9944, 26.1658)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96298D #299632
analogous
#682996 #96298D #962957
triadic
#96298D #8D9629 #298D96
tetradic
#96298D #966829 #299632 #295796
square
#96298D #966829 #299632 #295796
split-complementary
#96298D #579629 #299668
monochromatic
#360F33 #661C60 #96298D #C636BA #D565CC

Accessibility & contrast

On white

7.00
#96298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96298D
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96298D#FFFFFF#000000##FFFFFF
##96298D1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#4B5E8A
Tritanopia (blue-blind)
#9C3558
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #96298d;
/* rgb */ color: rgb(150, 41, 141);
/* oklch */ color: oklch(48.8% 0.182 331.6);
Tailwind
colors: {
  custom: {
    50: '#b86eaf',
    500: '#96298d',
    950: '#000000',
  },
}
SCSS
$custom: #96298d;
$custom-light: #b86eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#96298d",
  "rgb": {
    "r": 150,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 304.954,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48808,
    "c": 0.18222,
    "h": 331.6
  },
  "luminance": 0.09993
}

Semantic roles & 50–950 ramp

primary
#96298D
secondary
#60BB68
accent
#E05447
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #96298D

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

Preview Lab → · Contrast checker → · Palette generator →

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