#874997#874997

#874997 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.2% C 0.136 H 319.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#874997
RGBrgb(135, 73, 151)
HSLhsl(288, 35%, 44%)
HSVhsv(288, 52%, 59%)
CMYKcmyk(10.6%, 51.7%, 0%, 40.8%)
CIE-LABlab(41.46, 39.26, -32.05)
CIE-LCHlch(41.46, 50.68, 320.78°)
OKLaboklab(51.16% 0.1026 -0.0888)
OKLCHoklch(51.16% 0.136 319.1)
XYZxyz(17.9594, 12.1510, 30.6715)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874997 #599749
analogous
#604997 #874997 #974980
triadic
#874997 #978749 #499787
tetradic
#874997 #976049 #599749 #498097
square
#874997 #976049 #599749 #498097
split-complementary
#874997 #809749 #499760
monochromatic
#3D2144 #62356E #874997 #A667B6 #BE91CA

Accessibility & contrast

On white

6.12
#874997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#874997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874997
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874997#FFFFFF#000000##FFFFFF
##8749971.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9A
Deuteranopia (green-blind)
#4E6495
Tritanopia (blue-blind)
#875469
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #874997;
/* rgb */ color: rgb(135, 73, 151);
/* oklch */ color: oklch(51.2% 0.136 319.1);
Tailwind
colors: {
  custom: {
    50: '#ac7eb6',
    500: '#874997',
    950: '#000000',
  },
}
SCSS
$custom: #874997;
$custom-light: #ac7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#874997",
  "rgb": {
    "r": 135,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 287.692,
    "s": 34.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51164,
    "c": 0.13572,
    "h": 319.1
  },
  "luminance": 0.1215
}

Semantic roles & 50–950 ramp

primary
#874997
secondary
#90B686
accent
#CB5D73
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #874997

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

Preview Lab → · Contrast checker → · Palette generator →

#874997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva