#96298F#96298F

#96298F is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.184 H 330.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#96298F
RGBrgb(150, 41, 143)
HSLhsl(304, 57%, 37%)
HSVhsv(304, 73%, 59%)
CMYKcmyk(0%, 72.7%, 4.7%, 41.2%)
CIE-LABlab(37.94, 56.37, -32.58)
CIE-LCHlch(37.94, 65.11, 329.97°)
OKLaboklab(48.92% 0.1604 -0.0898)
OKLCHoklch(48.92% 0.184 330.8)
XYZxyz(18.3285, 10.0545, 26.9567)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96298F #299630
analogous
#662996 #96298F #962959
triadic
#96298F #8F9629 #298F96
tetradic
#96298F #966629 #299630 #295996
square
#96298F #966629 #299630 #295996
split-complementary
#96298F #599629 #299666
monochromatic
#360F33 #661C61 #96298F #C636BD #D565CE

Accessibility & contrast

On white

6.98
#96298F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#96298F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96298F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96298F#FFFFFF#000000##FFFFFF
##96298F1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5092
Deuteranopia (green-blind)
#4A5F8C
Tritanopia (blue-blind)
#9C3659
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #96298f;
/* rgb */ color: rgb(150, 41, 143);
/* oklch */ color: oklch(48.9% 0.184 330.8);
Tailwind
colors: {
  custom: {
    50: '#b86eb0',
    500: '#96298f',
    950: '#000000',
  },
}
SCSS
$custom: #96298f;
$custom-light: #b86eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#96298f",
  "rgb": {
    "r": 150,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 303.853,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4892,
    "c": 0.18377,
    "h": 330.8
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#96298F
secondary
#60BB66
accent
#E05147
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #96298F

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

Preview Lab → · Contrast checker → · Palette generator →

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