#874A96#874A96

#874A96 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.3% C 0.133 H 319.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#874A96
RGBrgb(135, 74, 150)
HSLhsl(288, 34%, 44%)
HSVhsv(288, 51%, 59%)
CMYKcmyk(10%, 50.7%, 0%, 41.2%)
CIE-LABlab(41.61, 38.51, -31.20)
CIE-LCHlch(41.61, 49.56, 320.99°)
OKLaboklab(51.26% 0.101 -0.0864)
OKLCHoklch(51.26% 0.133 319.5)
XYZxyz(17.9448, 12.2511, 30.2677)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874A96 #59964A
analogous
#614A96 #874A96 #964A7F
triadic
#874A96 #96874A #4A9687
tetradic
#874A96 #96614A #59964A #4A7F96
square
#874A96 #96614A #59964A #4A7F96
split-complementary
#874A96 #7F964A #4A9661
monochromatic
#3D2244 #62366D #874A96 #A668B5 #BE91C9

Accessibility & contrast

On white

6.09
#874A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#874A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874A96
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874A96#FFFFFF#000000##FFFFFF
##874A961.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E99
Deuteranopia (green-blind)
#4F6494
Tritanopia (blue-blind)
#885569
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #874a96;
/* rgb */ color: rgb(135, 74, 150);
/* oklch */ color: oklch(51.3% 0.133 319.5);
Tailwind
colors: {
  custom: {
    50: '#ac7fb5',
    500: '#874a96',
    950: '#000000',
  },
}
SCSS
$custom: #874a96;
$custom-light: #ac7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#874a96",
  "rgb": {
    "r": 135,
    "g": 74,
    "b": 150
  },
  "hsl": {
    "h": 288.158,
    "s": 33.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51264,
    "c": 0.13291,
    "h": 319.5
  },
  "luminance": 0.1225
}

Semantic roles & 50–950 ramp

primary
#874A96
secondary
#90B587
accent
#CA5E73
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #874A96

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

Preview Lab → · Contrast checker → · Palette generator →

#874A96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva