#96278E#96278E

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

Color values

HEX#96278E
RGBrgb(150, 39, 142)
HSLhsl(304, 59%, 37%)
HSVhsv(304, 74%, 59%)
CMYKcmyk(0%, 74%, 5.3%, 41.2%)
CIE-LABlab(37.64, 56.89, -32.44)
CIE-LCHlch(37.64, 65.49, 330.31°)
OKLaboklab(48.69% 0.1623 -0.0893)
OKLCHoklch(48.69% 0.185 331.2)
XYZxyz(18.1857, 9.8895, 26.5370)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96278E #27962F
analogous
#662796 #96278E #962757
triadic
#96278E #8E9627 #278E96
tetradic
#96278E #966627 #27962F #275796
square
#96278E #966627 #27962F #275796
split-complementary
#96278E #579627 #279666
monochromatic
#350E32 #651A60 #96278E #C734BC #D661CE

Accessibility & contrast

On white

7.05
#96278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96278E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96278E#FFFFFF#000000##FFFFFF
##96278E1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F91
Deuteranopia (green-blind)
#4A5E8B
Tritanopia (blue-blind)
#9C3458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #96278e;
/* rgb */ color: rgb(150, 39, 142);
/* oklch */ color: oklch(48.7% 0.185 331.2);
Tailwind
colors: {
  custom: {
    50: '#b86daf',
    500: '#96278e',
    950: '#000000',
  },
}
SCSS
$custom: #96278e;
$custom-light: #b86daf;
$custom-dark: #000000;
JSON
{
  "hex": "#96278e",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 304.324,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4869,
    "c": 0.18528,
    "h": 331.2
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#96278E
secondary
#5DBC64
accent
#E25146
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #96278E

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

Preview Lab → · Contrast checker → · Palette generator →

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