#96308C#96308C

#96308C is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.4% C 0.173 H 332.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#96308C
RGBrgb(150, 48, 140)
HSLhsl(306, 52%, 39%)
HSVhsv(306, 68%, 59%)
CMYKcmyk(0%, 68%, 6.7%, 41.2%)
CIE-LABlab(38.71, 53.25, -29.53)
CIE-LCHlch(38.71, 60.89, 330.99°)
OKLaboklab(49.43% 0.1526 -0.081)
OKLCHoklch(49.43% 0.173 332)
XYZxyz(18.3683, 10.4928, 25.8637)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96308C #30963A
analogous
#6D3096 #96308C #963059
triadic
#96308C #8C9630 #308C96
tetradic
#96308C #966D30 #30963A #305996
square
#96308C #966D30 #30963A #305996
split-complementary
#96308C #599630 #30966D
monochromatic
#391235 #682161 #96308C #C241B6 #D16FC7

Accessibility & contrast

On white

6.78
#96308C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#96308C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96308C
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96308C#FFFFFF#000000##FFFFFF
##96308C1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#4F6089
Tritanopia (blue-blind)
#9C3A5A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #96308c;
/* rgb */ color: rgb(150, 48, 140);
/* oklch */ color: oklch(49.4% 0.173 332.0);
Tailwind
colors: {
  custom: {
    50: '#b871ae',
    500: '#96308c',
    950: '#000000',
  },
}
SCSS
$custom: #96308c;
$custom-light: #b871ae;
$custom-dark: #000000;
JSON
{
  "hex": "#96308c",
  "rgb": {
    "r": 150,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 305.882,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49426,
    "c": 0.17275,
    "h": 332
  },
  "luminance": 0.10491
}

Semantic roles & 50–950 ramp

primary
#96308C
secondary
#69B971
accent
#DB5B4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #96308C

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

Preview Lab → · Contrast checker → · Palette generator →

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