#874397#874397

#874397 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.3% C 0.146 H 319.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#874397
RGBrgb(135, 67, 151)
HSLhsl(289, 39%, 43%)
HSVhsv(289, 56%, 59%)
CMYKcmyk(10.6%, 55.6%, 0%, 40.8%)
CIE-LABlab(40.25, 42.46, -33.95)
CIE-LCHlch(40.25, 54.36, 321.35°)
OKLaboklab(50.27% 0.1112 -0.0943)
OKLCHoklch(50.27% 0.146 319.7)
XYZxyz(17.5840, 11.4003, 30.5464)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874397 #539743
analogous
#5D4397 #874397 #97437D
triadic
#874397 #978743 #439787
tetradic
#874397 #975D43 #539743 #437D97
square
#874397 #975D43 #539743 #437D97
split-complementary
#874397 #7D9743 #43975D
monochromatic
#3B1D42 #61306D #874397 #A75FB8 #BE8ACB

Accessibility & contrast

On white

6.40
#874397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#874397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874397
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874397#FFFFFF#000000##FFFFFF
##8743971.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A9A
Deuteranopia (green-blind)
#496195
Tritanopia (blue-blind)
#884F66
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #874397;
/* rgb */ color: rgb(135, 67, 151);
/* oklch */ color: oklch(50.3% 0.146 319.7);
Tailwind
colors: {
  custom: {
    50: '#ac7ab6',
    500: '#874397',
    950: '#000000',
  },
}
SCSS
$custom: #874397;
$custom-light: #ac7ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#874397",
  "rgb": {
    "r": 135,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 288.571,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50274,
    "c": 0.14578,
    "h": 319.7
  },
  "luminance": 0.114
}

Semantic roles & 50–950 ramp

primary
#874397
secondary
#8AB680
accent
#CE5970
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #874397

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

Preview Lab → · Contrast checker → · Palette generator →

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