#96278B#96278B

#96278B is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.183 H 332.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#96278B
RGBrgb(150, 39, 139)
HSLhsl(306, 59%, 37%)
HSVhsv(306, 74%, 59%)
CMYKcmyk(0%, 74%, 7.3%, 41.2%)
CIE-LABlab(37.48, 56.41, -30.85)
CIE-LCHlch(37.48, 64.30, 331.32°)
OKLaboklab(48.52% 0.1622 -0.0848)
OKLCHoklch(48.52% 0.183 332.4)
XYZxyz(17.9635, 9.8006, 25.3667)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96278B #279632
analogous
#6A2796 #96278B #962754
triadic
#96278B #8B9627 #278B96
tetradic
#96278B #966A27 #279632 #275496
square
#96278B #966A27 #279632 #275496
split-complementary
#96278B #549627 #27966A
monochromatic
#350E31 #651A5E #96278B #C734B8 #D661CA

Accessibility & contrast

On white

7.10
#96278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#96278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96278B
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96278B#FFFFFF#000000##FFFFFF
##96278B1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8E
Deuteranopia (green-blind)
#4B5E88
Tritanopia (blue-blind)
#9D3356
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #96278b;
/* rgb */ color: rgb(150, 39, 139);
/* oklch */ color: oklch(48.5% 0.183 332.4);
Tailwind
colors: {
  custom: {
    50: '#b86dad',
    500: '#96278b',
    950: '#000000',
  },
}
SCSS
$custom: #96278b;
$custom-light: #b86dad;
$custom-dark: #000000;
JSON
{
  "hex": "#96278b",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 305.946,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48522,
    "c": 0.18299,
    "h": 332.4
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#96278B
secondary
#5DBC67
accent
#E25546
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #96278B

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

Preview Lab → · Contrast checker → · Palette generator →

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