#8D2286#8D2286

#8D2286 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.180 H 330.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8D2286
RGBrgb(141, 34, 134)
HSLhsl(304, 61%, 34%)
HSVhsv(304, 76%, 55%)
CMYKcmyk(0%, 75.9%, 5%, 44.7%)
CIE-LABlab(35.06, 55.17, -31.69)
CIE-LCHlch(35.06, 63.63, 330.13°)
OKLaboklab(46.4% 0.1572 -0.0874)
OKLCHoklch(46.4% 0.18 330.9)
XYZxyz(15.8596, 8.5293, 23.3607)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2286 #228D29
analogous
#5F228D #8D2286 #8D2251
triadic
#8D2286 #868D22 #22868D
tetradic
#8D2286 #8D5F22 #228D29 #22518D
square
#8D2286 #8D5F22 #228D29 #22518D
split-complementary
#8D2286 #518D22 #228D5F
monochromatic
#2A0A28 #5C1657 #8D2286 #BE2EB5 #D654CD

Accessibility & contrast

On white

7.76
#8D2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8D2286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2286
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2286#FFFFFF#000000##FFFFFF
##8D22861.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174989
Deuteranopia (green-blind)
#445883
Tritanopia (blue-blind)
#933052
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2286;
/* rgb */ color: rgb(141, 34, 134);
/* oklch */ color: oklch(46.4% 0.180 330.9);
Tailwind
colors: {
  custom: {
    50: '#b269a9',
    500: '#8d2286',
    950: '#000000',
  },
}
SCSS
$custom: #8d2286;
$custom-light: #b269a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2286",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 303.925,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46397,
    "c": 0.17983,
    "h": 330.9
  },
  "luminance": 0.08528
}

Semantic roles & 50–950 ramp

primary
#8D2286
secondary
#51B958
accent
#E44E44
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2286

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

Preview Lab → · Contrast checker → · Palette generator →

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