#96308B#96308B

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

Color values

HEX#96308B
RGBrgb(150, 48, 139)
HSLhsl(306, 52%, 39%)
HSVhsv(306, 68%, 59%)
CMYKcmyk(0%, 68%, 7.3%, 41.2%)
CIE-LABlab(38.66, 53.08, -29.00)
CIE-LCHlch(38.66, 60.48, 331.35°)
OKLaboklab(49.37% 0.1525 -0.0795)
OKLCHoklch(49.37% 0.172 332.5)
XYZxyz(18.2949, 10.4635, 25.4772)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96308B #30963B
analogous
#6E3096 #96308B #963058
triadic
#96308B #8B9630 #308B96
tetradic
#96308B #966E30 #30963B #305896
square
#96308B #966E30 #30963B #305896
split-complementary
#96308B #589630 #30966E
monochromatic
#391235 #682160 #96308B #C241B4 #D16FC7

Accessibility & contrast

On white

6.79
#96308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#96308B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96308B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96308B#FFFFFF#000000##FFFFFF
##96308B1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528E
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#9C3A59
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #96308b;
/* rgb */ color: rgb(150, 48, 139);
/* oklch */ color: oklch(49.4% 0.172 332.5);
Tailwind
colors: {
  custom: {
    50: '#b871ad',
    500: '#96308b',
    950: '#000000',
  },
}
SCSS
$custom: #96308b;
$custom-light: #b871ad;
$custom-dark: #000000;
JSON
{
  "hex": "#96308b",
  "rgb": {
    "r": 150,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 306.471,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49373,
    "c": 0.17195,
    "h": 332.5
  },
  "luminance": 0.10462
}

Semantic roles & 50–950 ramp

primary
#96308B
secondary
#69B972
accent
#DB5C4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #96308B

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

Preview Lab → · Contrast checker → · Palette generator →

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