#8D2687#8D2687

#8D2687 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.176 H 330.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8D2687
RGBrgb(141, 38, 135)
HSLhsl(303, 58%, 35%)
HSVhsv(303, 73%, 55%)
CMYKcmyk(0%, 73%, 4.3%, 44.7%)
CIE-LABlab(35.60, 53.97, -31.47)
CIE-LCHlch(35.60, 62.48, 329.76°)
OKLaboklab(46.8% 0.1533 -0.0867)
OKLCHoklch(46.8% 0.176 330.5)
XYZxyz(16.0507, 8.7995, 23.7701)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2687 #268D2C
analogous
#5F268D #8D2687 #8D2654
triadic
#8D2687 #878D26 #26878D
tetradic
#8D2687 #8D5F26 #268D2C #26548D
square
#8D2687 #8D5F26 #268D2C #26548D
split-complementary
#8D2687 #548D26 #268D5F
monochromatic
#2D0C2B #5D1959 #8D2687 #BD33B5 #D35BCC

Accessibility & contrast

On white

7.61
#8D2687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8D2687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2687
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2687#FFFFFF#000000##FFFFFF
##8D26871.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4B8A
Deuteranopia (green-blind)
#455984
Tritanopia (blue-blind)
#933354
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2687;
/* rgb */ color: rgb(141, 38, 135);
/* oklch */ color: oklch(46.8% 0.176 330.5);
Tailwind
colors: {
  custom: {
    50: '#b26baa',
    500: '#8d2687',
    950: '#000000',
  },
}
SCSS
$custom: #8d2687;
$custom-light: #b26baa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2687",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 303.495,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46798,
    "c": 0.17613,
    "h": 330.5
  },
  "luminance": 0.08798
}

Semantic roles & 50–950 ramp

primary
#8D2687
secondary
#57B85D
accent
#E15047
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2687

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

Preview Lab → · Contrast checker → · Palette generator →

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