#87229A#87229A

#87229A is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.193 H 320.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#87229A
RGBrgb(135, 34, 154)
HSLhsl(291, 64%, 37%)
HSVhsv(291, 78%, 60%)
CMYKcmyk(12.3%, 77.9%, 0%, 39.6%)
CIE-LABlab(35.26, 57.39, -43.71)
CIE-LCHlch(35.26, 72.14, 322.70°)
OKLaboklab(46.73% 0.1495 -0.1226)
OKLCHoklch(46.73% 0.193 320.6)
XYZxyz(16.3957, 8.6289, 31.3675)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87229A #359A22
analogous
#4B229A #87229A #9A2271
triadic
#87229A #9A8722 #229A87
tetradic
#87229A #9A4B22 #359A22 #22719A
square
#87229A #9A4B22 #359A22 #22719A
split-complementary
#87229A #719A22 #229A4B
monochromatic
#2F0C36 #5B1768 #87229A #B32DCC #C75BDB

Accessibility & contrast

On white

7.70
#87229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#87229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87229A
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87229A#FFFFFF#000000##FFFFFF
##87229A1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#305697
Tritanopia (blue-blind)
#883B5D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #87229a;
/* rgb */ color: rgb(135, 34, 154);
/* oklch */ color: oklch(46.7% 0.193 320.6);
Tailwind
colors: {
  custom: {
    50: '#ae69b8',
    500: '#87229a',
    950: '#000000',
  },
}
SCSS
$custom: #87229a;
$custom-light: #ae69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#87229a",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 290.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46732,
    "c": 0.19329,
    "h": 320.6
  },
  "luminance": 0.08628
}

Semantic roles & 50–950 ramp

primary
#87229A
secondary
#69BF58
accent
#E7415B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #87229A

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

Preview Lab → · Contrast checker → · Palette generator →

#87229A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva