#96308E#96308E

#96308E is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.5% C 0.174 H 331.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#96308E
RGBrgb(150, 48, 142)
HSLhsl(305, 52%, 39%)
HSVhsv(305, 68%, 59%)
CMYKcmyk(0%, 68%, 5.3%, 41.2%)
CIE-LABlab(38.82, 53.58, -30.59)
CIE-LCHlch(38.82, 61.70, 330.28°)
OKLaboklab(49.54% 0.1527 -0.0841)
OKLCHoklch(49.54% 0.174 331.2)
XYZxyz(18.5171, 10.5523, 26.6475)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96308E #309638
analogous
#6B3096 #96308E #96305B
triadic
#96308E #8E9630 #308E96
tetradic
#96308E #966B30 #309638 #305B96
square
#96308E #966B30 #309638 #305B96
split-complementary
#96308E #5B9630 #30966B
monochromatic
#391236 #682162 #96308E #C241B8 #D16FC9

Accessibility & contrast

On white

6.75
#96308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#96308E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96308E
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96308E#FFFFFF#000000##FFFFFF
##96308E1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#4E608B
Tritanopia (blue-blind)
#9C3B5B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #96308e;
/* rgb */ color: rgb(150, 48, 142);
/* oklch */ color: oklch(49.5% 0.174 331.2);
Tailwind
colors: {
  custom: {
    50: '#b871af',
    500: '#96308e',
    950: '#000000',
  },
}
SCSS
$custom: #96308e;
$custom-light: #b871af;
$custom-dark: #000000;
JSON
{
  "hex": "#96308e",
  "rgb": {
    "r": 150,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 304.706,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49535,
    "c": 0.17434,
    "h": 331.2
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

primary
#96308E
secondary
#69B96F
accent
#DB584D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #96308E

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

Preview Lab → · Contrast checker → · Palette generator →

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