#87299B#87299B

#87299B is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.187 H 320.0°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#87299B
RGBrgb(135, 41, 155)
HSLhsl(289, 58%, 38%)
HSVhsv(289, 74%, 61%)
CMYKcmyk(12.9%, 73.5%, 0%, 39.2%)
CIE-LABlab(36.18, 55.12, -42.84)
CIE-LCHlch(36.18, 69.80, 322.15°)
OKLaboklab(47.41% 0.1428 -0.12)
OKLCHoklch(47.41% 0.187 320)
XYZxyz(16.7003, 9.1042, 31.8816)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87299B #3D9B29
analogous
#4E299B #87299B #9B2976
triadic
#87299B #9B8729 #299B87
tetradic
#87299B #9B4E29 #3D9B29 #29769B
square
#87299B #9B4E29 #3D9B29 #29769B
split-complementary
#87299B #769B29 #299B4E
monochromatic
#330F3A #5D1C6B #87299B #B037CA #C367D7

Accessibility & contrast

On white

7.45
#87299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#87299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87299B
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87299B#FFFFFF#000000##FFFFFF
##87299B1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#335898
Tritanopia (blue-blind)
#873F60
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87299b;
/* rgb */ color: rgb(135, 41, 155);
/* oklch */ color: oklch(47.4% 0.187 320.0);
Tailwind
colors: {
  custom: {
    50: '#ae6cb9',
    500: '#87299b',
    950: '#000000',
  },
}
SCSS
$custom: #87299b;
$custom-light: #ae6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#87299b",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 289.474,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47409,
    "c": 0.18657,
    "h": 320
  },
  "luminance": 0.09103
}

Semantic roles & 50–950 ramp

primary
#87299B
secondary
#73BD63
accent
#E14662
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #87299B

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

Preview Lab → · Contrast checker → · Palette generator →

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