#87308F#87308F

#87308F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.167 H 324.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#87308F
RGBrgb(135, 48, 143)
HSLhsl(295, 50%, 37%)
HSVhsv(295, 66%, 56%)
CMYKcmyk(5.6%, 66.4%, 0%, 43.9%)
CIE-LABlab(36.46, 50.00, -35.08)
CIE-LCHlch(36.46, 61.08, 324.94°)
OKLaboklab(47.37% 0.1355 -0.0975)
OKLCHoklch(47.37% 0.167 324.3)
XYZxyz(16.0061, 9.2489, 26.9234)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87308F #388F30
analogous
#57308F #87308F #8F3068
triadic
#87308F #8F8730 #308F87
tetradic
#87308F #8F5730 #388F30 #30688F
square
#87308F #8F5730 #388F30 #30688F
split-complementary
#87308F #688F30 #308F57
monochromatic
#301133 #5C2161 #87308F #B23FBD #C56CCE

Accessibility & contrast

On white

7.37
#87308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#87308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87308F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87308F#FFFFFF#000000##FFFFFF
##87308F1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4F92
Deuteranopia (green-blind)
#40598D
Tritanopia (blue-blind)
#8A3F5B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #87308f;
/* rgb */ color: rgb(135, 48, 143);
/* oklch */ color: oklch(47.4% 0.167 324.3);
Tailwind
colors: {
  custom: {
    50: '#ad6fb0',
    500: '#87308f',
    950: '#000000',
  },
}
SCSS
$custom: #87308f;
$custom-light: #ad6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#87308f",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 294.947,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47372,
    "c": 0.16694,
    "h": 324.3
  },
  "luminance": 0.09248
}

Semantic roles & 50–950 ramp

primary
#87308F
secondary
#6DB566
accent
#D94F5A
background
#FAF7FA
surface
#F5EDF5
border
#CFC8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #87308F

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

Preview Lab → · Contrast checker → · Palette generator →

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