#87429C#87429C

#87429C is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.4% C 0.153 H 317.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#87429C
RGBrgb(135, 66, 156)
HSLhsl(286, 41%, 44%)
HSVhsv(286, 58%, 61%)
CMYKcmyk(13.5%, 57.7%, 0%, 38.8%)
CIE-LABlab(40.33, 44.03, -36.84)
CIE-LCHlch(40.33, 57.41, 320.08°)
OKLaboklab(50.42% 0.1129 -0.1027)
OKLCHoklch(50.42% 0.153 317.7)
XYZxyz(17.9398, 11.4483, 32.7108)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87429C #579C42
analogous
#5A429C #87429C #9C4284
triadic
#87429C #9C8742 #429C87
tetradic
#87429C #9C5A42 #579C42 #42849C
square
#87429C #9C5A42 #579C42 #42849C
split-complementary
#87429C #849C42 #429C5A
monochromatic
#3D1E46 #623071 #87429C #A660BC #BE8BCE

Accessibility & contrast

On white

6.38
#87429C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#87429C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87429C
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87429C#FFFFFF#000000##FFFFFF
##87429C1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5B9F
Deuteranopia (green-blind)
#45619A
Tritanopia (blue-blind)
#875069
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #87429c;
/* rgb */ color: rgb(135, 66, 156);
/* oklch */ color: oklch(50.4% 0.153 317.7);
Tailwind
colors: {
  custom: {
    50: '#ac7ab9',
    500: '#87429c',
    950: '#000000',
  },
}
SCSS
$custom: #87429c;
$custom-light: #ac7ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#87429c",
  "rgb": {
    "r": 135,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 286,
    "s": 40.541,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5042,
    "c": 0.15265,
    "h": 317.7
  },
  "luminance": 0.11448
}

Semantic roles & 50–950 ramp

primary
#87429C
secondary
#8EB981
accent
#D05774
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100911
muted
#7F7B80

Preview Lab

Preview with #87429C

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

Preview Lab → · Contrast checker → · Palette generator →

#87429C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva