#8D3087#8D3087

#8D3087 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.8% C 0.163 H 330.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8D3087
RGBrgb(141, 48, 135)
HSLhsl(304, 49%, 37%)
HSVhsv(304, 66%, 55%)
CMYKcmyk(0%, 66%, 4.3%, 44.7%)
CIE-LABlab(36.98, 50.08, -29.29)
CIE-LCHlch(36.98, 58.01, 329.68°)
OKLaboklab(47.8% 0.1421 -0.0805)
OKLCHoklch(47.8% 0.163 330.5)
XYZxyz(16.4145, 9.5271, 23.8913)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3087 #308D36
analogous
#65308D #8D3087 #8D3059
triadic
#8D3087 #878D30 #30878D
tetradic
#8D3087 #8D6530 #308D36 #30598D
square
#8D3087 #8D6530 #308D36 #30598D
split-complementary
#8D3087 #598D30 #308D65
monochromatic
#321130 #5F205B #8D3087 #BB40B3 #CD6BC6

Accessibility & contrast

On white

7.23
#8D3087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8D3087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3087
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3087#FFFFFF#000000##FFFFFF
##8D30871.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F8A
Deuteranopia (green-blind)
#4A5C85
Tritanopia (blue-blind)
#923A57
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d3087;
/* rgb */ color: rgb(141, 48, 135);
/* oklch */ color: oklch(47.8% 0.163 330.5);
Tailwind
colors: {
  custom: {
    50: '#b170aa',
    500: '#8d3087',
    950: '#000000',
  },
}
SCSS
$custom: #8d3087;
$custom-light: #b170aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3087",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 303.871,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47797,
    "c": 0.16332,
    "h": 330.5
  },
  "luminance": 0.09526
}

Semantic roles & 50–950 ramp

primary
#8D3087
secondary
#65B46A
accent
#D9584F
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D3087

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

Preview Lab → · Contrast checker → · Palette generator →

#8D3087 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva