#96278F#96278F

#96278F is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.186 H 330.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#96278F
RGBrgb(150, 39, 143)
HSLhsl(304, 59%, 37%)
HSVhsv(304, 74%, 59%)
CMYKcmyk(0%, 74%, 4.7%, 41.2%)
CIE-LABlab(37.70, 57.06, -32.97)
CIE-LCHlch(37.70, 65.90, 329.98°)
OKLaboklab(48.75% 0.1623 -0.0909)
OKLCHoklch(48.75% 0.186 330.8)
XYZxyz(18.2611, 9.9197, 26.9342)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96278F #27962E
analogous
#662796 #96278F #962758
triadic
#96278F #8F9627 #278F96
tetradic
#96278F #966627 #27962E #275896
square
#96278F #966627 #27962E #275896
split-complementary
#96278F #589627 #279666
monochromatic
#350E32 #651A61 #96278F #C734BD #D661CF

Accessibility & contrast

On white

7.04
#96278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#96278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96278F
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96278F#FFFFFF#000000##FFFFFF
##96278F1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#495E8C
Tritanopia (blue-blind)
#9C3559
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #96278f;
/* rgb */ color: rgb(150, 39, 143);
/* oklch */ color: oklch(48.7% 0.186 330.8);
Tailwind
colors: {
  custom: {
    50: '#b86db0',
    500: '#96278f',
    950: '#000000',
  },
}
SCSS
$custom: #96278f;
$custom-light: #b86db0;
$custom-dark: #000000;
JSON
{
  "hex": "#96278f",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 303.784,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48746,
    "c": 0.18604,
    "h": 330.8
  },
  "luminance": 0.09918
}

Semantic roles & 50–950 ramp

primary
#96278F
secondary
#5DBC63
accent
#E25046
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #96278F

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

Preview Lab → · Contrast checker → · Palette generator →

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