#8D2285#8D2285

#8D2285 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.179 H 331.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8D2285
RGBrgb(141, 34, 133)
HSLhsl(304, 61%, 34%)
HSVhsv(304, 76%, 55%)
CMYKcmyk(0%, 75.9%, 5.7%, 44.7%)
CIE-LABlab(35.01, 55.01, -31.16)
CIE-LCHlch(35.01, 63.22, 330.47°)
OKLaboklab(46.34% 0.1572 -0.0858)
OKLCHoklch(46.34% 0.179 331.4)
XYZxyz(15.7902, 8.5015, 22.9951)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2285 #228D2A
analogous
#60228D #8D2285 #8D2250
triadic
#8D2285 #858D22 #22858D
tetradic
#8D2285 #8D6022 #228D2A #22508D
square
#8D2285 #8D6022 #228D2A #22508D
split-complementary
#8D2285 #508D22 #228D60
monochromatic
#2A0A28 #5C1656 #8D2285 #BE2EB4 #D654CC

Accessibility & contrast

On white

7.78
#8D2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8D2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2285
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2285#FFFFFF#000000##FFFFFF
##8D22851.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184988
Deuteranopia (green-blind)
#445882
Tritanopia (blue-blind)
#932F52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2285;
/* rgb */ color: rgb(141, 34, 133);
/* oklch */ color: oklch(46.3% 0.179 331.4);
Tailwind
colors: {
  custom: {
    50: '#b269a9',
    500: '#8d2285',
    950: '#000000',
  },
}
SCSS
$custom: #8d2285;
$custom-light: #b269a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2285",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 304.486,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46339,
    "c": 0.17906,
    "h": 331.4
  },
  "luminance": 0.085
}

Semantic roles & 50–950 ramp

primary
#8D2285
secondary
#51B959
accent
#E45044
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2285

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

Preview Lab → · Contrast checker → · Palette generator →

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