#87229B#87229B

#87229B is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.194 H 320.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#87229B
RGBrgb(135, 34, 155)
HSLhsl(290, 64%, 37%)
HSVhsv(290, 78%, 61%)
CMYKcmyk(12.9%, 78.1%, 0%, 39.2%)
CIE-LABlab(35.33, 57.57, -44.21)
CIE-LCHlch(35.33, 72.59, 322.48°)
OKLaboklab(46.8% 0.1493 -0.124)
OKLCHoklch(46.8% 0.194 320.3)
XYZxyz(16.4794, 8.6624, 31.8080)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87229B #369B22
analogous
#4B229B #87229B #9B2272
triadic
#87229B #9B8722 #229B87
tetradic
#87229B #9B4B22 #369B22 #22729B
square
#87229B #9B4B22 #369B22 #22729B
split-complementary
#87229B #729B22 #229B4B
monochromatic
#300C37 #5B1769 #87229B #B32DCD #C65CDB

Accessibility & contrast

On white

7.69
#87229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #87229B
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87229B#FFFFFF#000000##FFFFFF
##87229B1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#2F5698
Tritanopia (blue-blind)
#883B5E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #87229b;
/* rgb */ color: rgb(135, 34, 155);
/* oklch */ color: oklch(46.8% 0.194 320.3);
Tailwind
colors: {
  custom: {
    50: '#ae69b9',
    500: '#87229b',
    950: '#000000',
  },
}
SCSS
$custom: #87229b;
$custom-light: #ae69b9;
$custom-dark: #000000;
JSON
{
  "hex": "#87229b",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 290.083,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.468,
    "c": 0.19413,
    "h": 320.3
  },
  "luminance": 0.08662
}

Semantic roles & 50–950 ramp

primary
#87229B
secondary
#6AC059
accent
#E7415C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #87229B

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

Preview Lab → · Contrast checker → · Palette generator →

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