#8D2785#8D2785

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

Color values

HEX#8D2785
RGBrgb(141, 39, 133)
HSLhsl(305, 57%, 35%)
HSVhsv(305, 72%, 55%)
CMYKcmyk(0%, 72.3%, 5.7%, 44.7%)
CIE-LABlab(35.61, 53.28, -30.20)
CIE-LCHlch(35.61, 61.25, 330.45°)
OKLaboklab(46.78% 0.1522 -0.0831)
OKLCHoklch(46.78% 0.173 331.4)
XYZxyz(15.9436, 8.8085, 23.0462)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2785 #278D2F
analogous
#62278D #8D2785 #8D2752
triadic
#8D2785 #858D27 #27858D
tetradic
#8D2785 #8D6227 #278D2F #27528D
square
#8D2785 #8D6227 #278D2F #27528D
split-complementary
#8D2785 #528D27 #278D62
monochromatic
#2D0C2B #5D1A58 #8D2785 #BD34B2 #D25CC9

Accessibility & contrast

On white

7.60
#8D2785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2785
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2785#FFFFFF#000000##FFFFFF
##8D27851.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B88
Deuteranopia (green-blind)
#465982
Tritanopia (blue-blind)
#933353
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2785;
/* rgb */ color: rgb(141, 39, 133);
/* oklch */ color: oklch(46.8% 0.173 331.4);
Tailwind
colors: {
  custom: {
    50: '#b26ba9',
    500: '#8d2785',
    950: '#000000',
  },
}
SCSS
$custom: #8d2785;
$custom-light: #b26ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2785",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 304.706,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46775,
    "c": 0.17336,
    "h": 331.4
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#8D2785
secondary
#59B760
accent
#E05448
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2785

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

Preview Lab → · Contrast checker → · Palette generator →

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