#96278D#96278D

#96278D is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.185 H 331.6°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#96278D
RGBrgb(150, 39, 141)
HSLhsl(305, 59%, 37%)
HSVhsv(305, 74%, 59%)
CMYKcmyk(0%, 74%, 6%, 41.2%)
CIE-LABlab(37.59, 56.73, -31.91)
CIE-LCHlch(37.59, 65.09, 330.64°)
OKLaboklab(48.63% 0.1623 -0.0878)
OKLCHoklch(48.63% 0.185 331.6)
XYZxyz(18.1109, 9.8596, 26.1434)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96278D #279630
analogous
#682796 #96278D #962756
triadic
#96278D #8D9627 #278D96
tetradic
#96278D #966827 #279630 #275696
square
#96278D #966827 #279630 #275696
split-complementary
#96278D #569627 #279668
monochromatic
#350E32 #651A5F #96278D #C734BB #D661CD

Accessibility & contrast

On white

7.07
#96278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#96278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96278D
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96278D#FFFFFF#000000##FFFFFF
##96278D1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F90
Deuteranopia (green-blind)
#4A5E8A
Tritanopia (blue-blind)
#9C3457
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #96278d;
/* rgb */ color: rgb(150, 39, 141);
/* oklch */ color: oklch(48.6% 0.185 331.6);
Tailwind
colors: {
  custom: {
    50: '#b86daf',
    500: '#96278d',
    950: '#000000',
  },
}
SCSS
$custom: #96278d;
$custom-light: #b86daf;
$custom-dark: #000000;
JSON
{
  "hex": "#96278d",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 304.865,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48633,
    "c": 0.18451,
    "h": 331.6
  },
  "luminance": 0.09858
}

Semantic roles & 50–950 ramp

primary
#96278D
secondary
#5DBC65
accent
#E25346
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #96278D

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

Preview Lab → · Contrast checker → · Palette generator →

#96278D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva