#87308B#87308B

#87308B is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.163 H 326.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#87308B
RGBrgb(135, 48, 139)
HSLhsl(297, 49%, 37%)
HSVhsv(297, 65%, 55%)
CMYKcmyk(2.9%, 65.5%, 0%, 45.5%)
CIE-LABlab(36.23, 49.25, -32.99)
CIE-LCHlch(36.23, 59.28, 326.18°)
OKLaboklab(47.14% 0.1354 -0.0914)
OKLCHoklch(47.14% 0.163 326)
XYZxyz(15.7085, 9.1299, 25.3559)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87308B #348B30
analogous
#5A308B #87308B #8B3062
triadic
#87308B #8B8730 #308B87
tetradic
#87308B #8B5A30 #348B30 #30628B
square
#87308B #8B5A30 #348B30 #30628B
split-complementary
#87308B #628B30 #308B5A
monochromatic
#2F1130 #5B205E #87308B #B340B8 #C76ACC

Accessibility & contrast

On white

7.43
#87308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#87308B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87308B
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87308B#FFFFFF#000000##FFFFFF
##87308B1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8E
Deuteranopia (green-blind)
#435989
Tritanopia (blue-blind)
#8A3D59
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #87308b;
/* rgb */ color: rgb(135, 48, 139);
/* oklch */ color: oklch(47.1% 0.163 326.0);
Tailwind
colors: {
  custom: {
    50: '#ad6fad',
    500: '#87308b',
    950: '#000000',
  },
}
SCSS
$custom: #87308b;
$custom-light: #ad6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#87308b",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 297.363,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47135,
    "c": 0.16334,
    "h": 326
  },
  "luminance": 0.09129
}

Semantic roles & 50–950 ramp

primary
#87308B
secondary
#67B364
accent
#D85056
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #87308B

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

Preview Lab → · Contrast checker → · Palette generator →

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