#874596#874596

#874596 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.5% C 0.141 H 319.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#874596
RGBrgb(135, 69, 150)
HSLhsl(289, 37%, 43%)
HSVhsv(289, 54%, 59%)
CMYKcmyk(10%, 54%, 0%, 41.2%)
CIE-LABlab(40.59, 41.20, -32.81)
CIE-LCHlch(40.59, 52.67, 321.47°)
OKLaboklab(50.51% 0.1082 -0.091)
OKLCHoklch(50.51% 0.141 319.9)
XYZxyz(17.6241, 11.6099, 30.1608)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874596 #549645
analogous
#5E4596 #874596 #96457C
triadic
#874596 #968745 #459687
tetradic
#874596 #965E45 #549645 #457C96
square
#874596 #965E45 #549645 #457C96
split-complementary
#874596 #7C9645 #45965E
monochromatic
#3C1E42 #61326C #874596 #A762B7 #BE8CCA

Accessibility & contrast

On white

6.32
#874596 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#874596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874596
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874596#FFFFFF#000000##FFFFFF
##8745961.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365B99
Deuteranopia (green-blind)
#4B6294
Tritanopia (blue-blind)
#885167
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #874596;
/* rgb */ color: rgb(135, 69, 150);
/* oklch */ color: oklch(50.5% 0.141 319.9);
Tailwind
colors: {
  custom: {
    50: '#ac7cb5',
    500: '#874596',
    950: '#000000',
  },
}
SCSS
$custom: #874596;
$custom-light: #ac7cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#874596",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 150
  },
  "hsl": {
    "h": 288.889,
    "s": 36.986,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50508,
    "c": 0.14142,
    "h": 319.9
  },
  "luminance": 0.11609
}

Semantic roles & 50–950 ramp

primary
#874596
secondary
#8BB582
accent
#CD5B70
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #874596

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

Preview Lab → · Contrast checker → · Palette generator →

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