#874080#874080

#874080 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 48.6% C 0.128 H 331.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#874080
RGBrgb(135, 64, 128)
HSLhsl(306, 36%, 39%)
HSVhsv(306, 53%, 53%)
CMYKcmyk(0%, 52.6%, 5.2%, 47.1%)
CIE-LABlab(38.51, 39.50, -22.65)
CIE-LCHlch(38.51, 45.53, 330.18°)
OKLaboklab(48.62% 0.1122 -0.0618)
OKLCHoklch(48.62% 0.128 331.2)
XYZxyz(15.7212, 10.3772, 21.5928)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874080 #408747
analogous
#6B4087 #874080 #87405D
triadic
#874080 #808740 #408087
tetradic
#874080 #876B40 #408747 #405D87
square
#874080 #876B40 #408747 #405D87
split-complementary
#874080 #5D8740 #40876B
monochromatic
#341931 #5D2C59 #874080 #AF56A6 #C27FBC

Accessibility & contrast

On white

6.83
#874080 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#874080 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874080
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874080#FFFFFF#000000##FFFFFF
##8740801.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5482
Deuteranopia (green-blind)
#525E7E
Tritanopia (blue-blind)
#8C465A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #874080;
/* rgb */ color: rgb(135, 64, 128);
/* oklch */ color: oklch(48.6% 0.128 331.2);
Tailwind
colors: {
  custom: {
    50: '#ac78a5',
    500: '#874080',
    950: '#000000',
  },
}
SCSS
$custom: #874080;
$custom-light: #ac78a5;
$custom-dark: #000000;
JSON
{
  "hex": "#874080",
  "rgb": {
    "r": 135,
    "g": 64,
    "b": 128
  },
  "hsl": {
    "h": 305.915,
    "s": 35.678,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4862,
    "c": 0.12811,
    "h": 331.2
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#874080
secondary
#76AD7B
accent
#CC675C
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #874080

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

Preview Lab → · Contrast checker → · Palette generator →

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