#874396#874396

#874396 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.2% C 0.145 H 320.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#874396
RGBrgb(135, 67, 150)
HSLhsl(289, 38%, 43%)
HSVhsv(289, 55%, 59%)
CMYKcmyk(10%, 55.3%, 0%, 41.2%)
CIE-LABlab(40.19, 42.25, -33.43)
CIE-LCHlch(40.19, 53.88, 321.65°)
OKLaboklab(50.22% 0.1111 -0.0928)
OKLCHoklch(50.22% 0.145 320.1)
XYZxyz(17.5032, 11.3680, 30.1205)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874396 #529643
analogous
#5E4396 #874396 #96437B
triadic
#874396 #968743 #439687
tetradic
#874396 #965E43 #529643 #437B96
square
#874396 #965E43 #529643 #437B96
split-complementary
#874396 #7B9643 #43965E
monochromatic
#3B1D41 #61306C #874396 #A75FB7 #BF89CA

Accessibility & contrast

On white

6.42
#874396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#874396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874396
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874396#FFFFFF#000000##FFFFFF
##8743961.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A99
Deuteranopia (green-blind)
#4A6194
Tritanopia (blue-blind)
#884F66
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #874396;
/* rgb */ color: rgb(135, 67, 150);
/* oklch */ color: oklch(50.2% 0.145 320.1);
Tailwind
colors: {
  custom: {
    50: '#ac7ab5',
    500: '#874396',
    950: '#000000',
  },
}
SCSS
$custom: #874396;
$custom-light: #ac7ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#874396",
  "rgb": {
    "r": 135,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 289.157,
    "s": 38.249,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50217,
    "c": 0.14475,
    "h": 320.1
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#874396
secondary
#89B57F
accent
#CE5A6F
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #874396

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

Preview Lab → · Contrast checker → · Palette generator →

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