#8D2985#8D2985

#8D2985 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.171 H 331.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8D2985
RGBrgb(141, 41, 133)
HSLhsl(305, 55%, 36%)
HSVhsv(305, 71%, 55%)
CMYKcmyk(0%, 70.9%, 5.7%, 44.7%)
CIE-LABlab(35.87, 52.54, -29.79)
CIE-LCHlch(35.87, 60.40, 330.45°)
OKLaboklab(46.96% 0.15 -0.0819)
OKLCHoklch(46.96% 0.171 331.4)
XYZxyz(16.0111, 8.9433, 23.0687)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2985 #298D31
analogous
#63298D #8D2985 #8D2953
triadic
#8D2985 #858D29 #29858D
tetradic
#8D2985 #8D6329 #298D31 #29538D
square
#8D2985 #8D6329 #298D31 #29538D
split-complementary
#8D2985 #538D29 #298D63
monochromatic
#2E0D2C #5E1B58 #8D2985 #BC37B2 #D160C8

Accessibility & contrast

On white

7.53
#8D2985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8D2985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2985
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2985#FFFFFF#000000##FFFFFF
##8D29851.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B88
Deuteranopia (green-blind)
#475982
Tritanopia (blue-blind)
#933454
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2985;
/* rgb */ color: rgb(141, 41, 133);
/* oklch */ color: oklch(47.0% 0.171 331.4);
Tailwind
colors: {
  custom: {
    50: '#b16ca9',
    500: '#8d2985',
    950: '#000000',
  },
}
SCSS
$custom: #8d2985;
$custom-light: #b16ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2985",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 304.8,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46964,
    "c": 0.17093,
    "h": 331.4
  },
  "luminance": 0.08942
}

Semantic roles & 50–950 ramp

primary
#8D2985
secondary
#5BB663
accent
#DE554A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2985

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

Preview Lab → · Contrast checker → · Palette generator →

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