#96278C#96278C

#96278C is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.184 H 332.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#96278C
RGBrgb(150, 39, 140)
HSLhsl(305, 59%, 37%)
HSVhsv(305, 74%, 59%)
CMYKcmyk(0%, 74%, 6.7%, 41.2%)
CIE-LABlab(37.54, 56.57, -31.38)
CIE-LCHlch(37.54, 64.69, 330.98°)
OKLaboklab(48.58% 0.1622 -0.0863)
OKLCHoklch(48.58% 0.184 332)
XYZxyz(18.0369, 9.8300, 25.7533)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96278C #279631
analogous
#682796 #96278C #962755
triadic
#96278C #8C9627 #278C96
tetradic
#96278C #966827 #279631 #275596
square
#96278C #966827 #279631 #275596
split-complementary
#96278C #559627 #279668
monochromatic
#350E31 #651A5F #96278C #C734B9 #D661CC

Accessibility & contrast

On white

7.08
#96278C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96278C
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96278C#FFFFFF#000000##FFFFFF
##96278C1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8F
Deuteranopia (green-blind)
#4B5E89
Tritanopia (blue-blind)
#9C3357
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #96278c;
/* rgb */ color: rgb(150, 39, 140);
/* oklch */ color: oklch(48.6% 0.184 332.0);
Tailwind
colors: {
  custom: {
    50: '#b86dae',
    500: '#96278c',
    950: '#000000',
  },
}
SCSS
$custom: #96278c;
$custom-light: #b86dae;
$custom-dark: #000000;
JSON
{
  "hex": "#96278c",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 140
  },
  "hsl": {
    "h": 305.405,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48577,
    "c": 0.18375,
    "h": 332
  },
  "luminance": 0.09829
}

Semantic roles & 50–950 ramp

primary
#96278C
secondary
#5DBC66
accent
#E25446
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #96278C

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

Preview Lab → · Contrast checker → · Palette generator →

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