#874A95#874A95

#874A95 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.2% C 0.132 H 319.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#874A95
RGBrgb(135, 74, 149)
HSLhsl(289, 34%, 44%)
HSVhsv(289, 50%, 58%)
CMYKcmyk(9.4%, 50.3%, 0%, 41.6%)
CIE-LABlab(41.56, 38.30, -30.67)
CIE-LCHlch(41.56, 49.07, 321.31°)
OKLaboklab(51.21% 0.1008 -0.0849)
OKLCHoklch(51.21% 0.132 319.9)
XYZxyz(17.8646, 12.2191, 29.8454)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874A95 #58954A
analogous
#614A95 #874A95 #954A7D
triadic
#874A95 #95874A #4A9587
tetradic
#874A95 #95614A #58954A #4A7D95
square
#874A95 #95614A #58954A #4A7D95
split-complementary
#874A95 #7D954A #4A9561
monochromatic
#3D2143 #62366C #874A95 #A668B4 #BE91C8

Accessibility & contrast

On white

6.10
#874A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#874A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874A95
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874A95#FFFFFF#000000##FFFFFF
##874A951.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E98
Deuteranopia (green-blind)
#506493
Tritanopia (blue-blind)
#885468
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #874a95;
/* rgb */ color: rgb(135, 74, 149);
/* oklch */ color: oklch(51.2% 0.132 319.9);
Tailwind
colors: {
  custom: {
    50: '#ac7fb4',
    500: '#874a95',
    950: '#000000',
  },
}
SCSS
$custom: #874a95;
$custom-light: #ac7fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#874a95",
  "rgb": {
    "r": 135,
    "g": 74,
    "b": 149
  },
  "hsl": {
    "h": 288.8,
    "s": 33.632,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5121,
    "c": 0.13181,
    "h": 319.9
  },
  "luminance": 0.12218
}

Semantic roles & 50–950 ramp

primary
#874A95
secondary
#8FB486
accent
#CA5E72
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #874A95

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

Preview Lab → · Contrast checker → · Palette generator →

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