#87309B#87309B

#87309B is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.178 H 319.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#87309B
RGBrgb(135, 48, 155)
HSLhsl(289, 53%, 40%)
HSVhsv(289, 69%, 61%)
CMYKcmyk(12.9%, 69%, 0%, 39.2%)
CIE-LABlab(37.17, 52.32, -41.25)
CIE-LCHlch(37.17, 66.62, 321.75°)
OKLaboklab(48.12% 0.1354 -0.1155)
OKLCHoklch(48.12% 0.178 319.5)
XYZxyz(16.9643, 9.6322, 31.9696)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87309B #449B30
analogous
#52309B #87309B #9B307A
triadic
#87309B #9B8730 #309B87
tetradic
#87309B #9B5230 #449B30 #307A9B
square
#87309B #9B5230 #449B30 #307A9B
split-complementary
#87309B #7A9B30 #309B52
monochromatic
#36133E #5E226C #87309B #AD43C5 #C172D3

Accessibility & contrast

On white

7.18
#87309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#87309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87309B
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87309B#FFFFFF#000000##FFFFFF
##87309B1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03529E
Deuteranopia (green-blind)
#385A98
Tritanopia (blue-blind)
#874362
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #87309b;
/* rgb */ color: rgb(135, 48, 155);
/* oklch */ color: oklch(48.1% 0.178 319.5);
Tailwind
colors: {
  custom: {
    50: '#ad70b9',
    500: '#87309b',
    950: '#000000',
  },
}
SCSS
$custom: #87309b;
$custom-light: #ad70b9;
$custom-dark: #000000;
JSON
{
  "hex": "#87309b",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 288.785,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48117,
    "c": 0.17795,
    "h": 319.5
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#87309B
secondary
#7BBB6C
accent
#DC4C67
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #87309B

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

Preview Lab → · Contrast checker → · Palette generator →

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