#874197#874197

#874197 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.0% C 0.149 H 319.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#874197
RGBrgb(135, 65, 151)
HSLhsl(289, 40%, 42%)
HSVhsv(289, 57%, 59%)
CMYKcmyk(10.6%, 57%, 0%, 40.8%)
CIE-LABlab(39.86, 43.50, -34.56)
CIE-LCHlch(39.86, 55.56, 321.53°)
OKLaboklab(49.99% 0.114 -0.0961)
OKLCHoklch(49.99% 0.149 319.9)
XYZxyz(17.4672, 11.1666, 30.5074)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874197 #519741
analogous
#5C4197 #874197 #97417C
triadic
#874197 #978741 #419787
tetradic
#874197 #975C41 #519741 #417C97
square
#874197 #975C41 #519741 #417C97
split-complementary
#874197 #7C9741 #41975C
monochromatic
#3B1C41 #612F6C #874197 #A85CB9 #BF87CB

Accessibility & contrast

On white

6.50
#874197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#874197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874197
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874197#FFFFFF#000000##FFFFFF
##8741971.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30599A
Deuteranopia (green-blind)
#486095
Tritanopia (blue-blind)
#884E66
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #874197;
/* rgb */ color: rgb(135, 65, 151);
/* oklch */ color: oklch(50.0% 0.149 319.9);
Tailwind
colors: {
  custom: {
    50: '#ac79b6',
    500: '#874197',
    950: '#000000',
  },
}
SCSS
$custom: #874197;
$custom-light: #ac79b6;
$custom-dark: #000000;
JSON
{
  "hex": "#874197",
  "rgb": {
    "r": 135,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 288.837,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4999,
    "c": 0.14906,
    "h": 319.9
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

primary
#874197
secondary
#88B67E
accent
#D0586E
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #874197

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

Preview Lab → · Contrast checker → · Palette generator →

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