#96298C#96298C

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

Color values

HEX#96298C
RGBrgb(150, 41, 140)
HSLhsl(306, 57%, 37%)
HSVhsv(306, 73%, 59%)
CMYKcmyk(0%, 72.7%, 6.7%, 41.2%)
CIE-LABlab(37.78, 55.88, -31.00)
CIE-LCHlch(37.78, 63.90, 330.98°)
OKLaboklab(48.75% 0.1602 -0.0852)
OKLCHoklch(48.75% 0.181 332)
XYZxyz(18.1043, 9.9648, 25.7757)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96298C #299633
analogous
#6A2996 #96298C #962955
triadic
#96298C #8C9629 #298C96
tetradic
#96298C #966A29 #299633 #295596
square
#96298C #966A29 #299633 #295596
split-complementary
#96298C #559629 #29966A
monochromatic
#360F32 #661C5F #96298C #C636B9 #D565CB

Accessibility & contrast

On white

7.02
#96298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#96298C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96298C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96298C#FFFFFF#000000##FFFFFF
##96298C1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8F
Deuteranopia (green-blind)
#4C5E89
Tritanopia (blue-blind)
#9C3558
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #96298c;
/* rgb */ color: rgb(150, 41, 140);
/* oklch */ color: oklch(48.8% 0.181 332.0);
Tailwind
colors: {
  custom: {
    50: '#b86eae',
    500: '#96298c',
    950: '#000000',
  },
}
SCSS
$custom: #96298c;
$custom-light: #b86eae;
$custom-dark: #000000;
JSON
{
  "hex": "#96298c",
  "rgb": {
    "r": 150,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 305.505,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48752,
    "c": 0.18146,
    "h": 332
  },
  "luminance": 0.09963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #96298C

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

Preview Lab → · Contrast checker → · Palette generator →

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