#874589#874589

#874589 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 49.8% C 0.128 H 326.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#874589
RGBrgb(135, 69, 137)
HSLhsl(298, 33%, 40%)
HSVhsv(298, 50%, 54%)
CMYKcmyk(1.5%, 49.6%, 0%, 46.3%)
CIE-LABlab(39.94, 38.57, -25.94)
CIE-LCHlch(39.94, 46.48, 326.07°)
OKLaboklab(49.82% 0.1064 -0.0712)
OKLCHoklch(49.82% 0.128 326.2)
XYZxyz(16.6348, 11.2141, 24.9504)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#874589 #478945
analogous
#654589 #874589 #894569
triadic
#874589 #898745 #458987
tetradic
#874589 #896545 #478945 #456989
square
#874589 #896545 #478945 #456989
split-complementary
#874589 #698945 #458965
monochromatic
#371C38 #5F3160 #874589 #AB5EAE #C086C2

Accessibility & contrast

On white

6.48
#874589 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#874589 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #874589
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##874589#FFFFFF#000000##FFFFFF
##8745891.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598B
Deuteranopia (green-blind)
#516187
Tritanopia (blue-blind)
#8A4D61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #874589;
/* rgb */ color: rgb(135, 69, 137);
/* oklch */ color: oklch(49.8% 0.128 326.2);
Tailwind
colors: {
  custom: {
    50: '#ac7bab',
    500: '#874589',
    950: '#000000',
  },
}
SCSS
$custom: #874589;
$custom-light: #ac7bab;
$custom-dark: #000000;
JSON
{
  "hex": "#874589",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 298.235,
    "s": 33.01,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49816,
    "c": 0.12803,
    "h": 326.2
  },
  "luminance": 0.11213
}

Semantic roles & 50–950 ramp

primary
#874589
secondary
#7EAD7C
accent
#C95F62
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #874589

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

Preview Lab → · Contrast checker → · Palette generator →

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