#874697#874697

#874697 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 50.7% C 0.141 H 319.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#874697
RGBrgb(135, 70, 151)
HSLhsl(288, 37%, 43%)
HSVhsv(288, 54%, 59%)
CMYKcmyk(10.6%, 53.6%, 0%, 40.8%)
CIE-LABlab(40.84, 40.88, -33.01)
CIE-LCHlch(40.84, 52.54, 321.08°)
OKLaboklab(50.71% 0.1069 -0.0916)
OKLCHoklch(50.71% 0.141 319.4)
XYZxyz(17.7670, 11.7663, 30.6074)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874697 #569746
analogous
#5E4697 #874697 #97467E
triadic
#874697 #978746 #469787
tetradic
#874697 #975E46 #569746 #467E97
square
#874697 #975E46 #569746 #467E97
split-complementary
#874697 #7E9746 #46975E
monochromatic
#3C1F43 #62336D #874697 #A663B7 #BE8DCA

Accessibility & contrast

On white

6.26
#874697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#874697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874697
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874697#FFFFFF#000000##FFFFFF
##8746971.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#4B6395
Tritanopia (blue-blind)
#875268
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #874697;
/* rgb */ color: rgb(135, 70, 151);
/* oklch */ color: oklch(50.7% 0.141 319.4);
Tailwind
colors: {
  custom: {
    50: '#ac7cb6',
    500: '#874697',
    950: '#000000',
  },
}
SCSS
$custom: #874697;
$custom-light: #ac7cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#874697",
  "rgb": {
    "r": 135,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 288.148,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50712,
    "c": 0.14081,
    "h": 319.4
  },
  "luminance": 0.11766
}

Semantic roles & 50–950 ramp

primary
#874697
secondary
#8DB683
accent
#CD5B72
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #874697

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

Preview Lab → · Contrast checker → · Palette generator →

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