#87309F#87309F

#87309F is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.182 H 318.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#87309F
RGBrgb(135, 48, 159)
HSLhsl(287, 54%, 41%)
HSVhsv(287, 70%, 62%)
CMYKcmyk(15.1%, 69.8%, 0%, 37.6%)
CIE-LABlab(37.42, 53.12, -43.27)
CIE-LCHlch(37.42, 68.51, 320.83°)
OKLaboklab(48.38% 0.1352 -0.1213)
OKLCHoklch(48.38% 0.182 318.1)
XYZxyz(17.3058, 9.7688, 33.7681)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87309F #489F30
analogous
#4F309F #87309F #9F307F
triadic
#87309F #9F8730 #309F87
tetradic
#87309F #9F4F30 #489F30 #307F9F
square
#87309F #9F4F30 #489F30 #307F9F
split-complementary
#87309F #7F9F30 #309F4F
monochromatic
#371441 #5F2270 #87309F #AB45C7 #C074D5

Accessibility & contrast

On white

7.11
#87309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#87309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87309F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87309F#FFFFFF#000000##FFFFFF
##87309F1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#355B9C
Tritanopia (blue-blind)
#864564
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #87309f;
/* rgb */ color: rgb(135, 48, 159);
/* oklch */ color: oklch(48.4% 0.182 318.1);
Tailwind
colors: {
  custom: {
    50: '#ad70bc',
    500: '#87309f',
    950: '#000000',
  },
}
SCSS
$custom: #87309f;
$custom-light: #ad70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#87309f",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 287.027,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48376,
    "c": 0.18168,
    "h": 318.1
  },
  "luminance": 0.09768
}

Semantic roles & 50–950 ramp

primary
#87309F
secondary
#7FBD6E
accent
#DD4B6A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #87309F

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

Preview Lab → · Contrast checker → · Palette generator →

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