#8D2E82#8D2E82

#8D2E82 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.3% C 0.162 H 332.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8D2E82
RGBrgb(141, 46, 130)
HSLhsl(307, 51%, 37%)
HSVhsv(307, 67%, 55%)
CMYKcmyk(0%, 67.4%, 7.8%, 44.7%)
CIE-LABlab(36.42, 50.06, -27.07)
CIE-LCHlch(36.42, 56.91, 331.60°)
OKLaboklab(47.31% 0.144 -0.0741)
OKLCHoklch(47.31% 0.162 332.8)
XYZxyz(15.9908, 9.2297, 22.0541)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E82 #2E8D39
analogous
#692E8D #8D2E82 #8D2E53
triadic
#8D2E82 #828D2E #2E828D
tetradic
#8D2E82 #8D692E #2E8D39 #2E538D
square
#8D2E82 #8D692E #2E8D39 #2E538D
split-complementary
#8D2E82 #538D2E #2E8D69
monochromatic
#31102D #5F1F57 #8D2E82 #BB3DAD #CE68C2

Accessibility & contrast

On white

7.38
#8D2E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8D2E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E82
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E82#FFFFFF#000000##FFFFFF
##8D2E821.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D84
Deuteranopia (green-blind)
#4B5B80
Tritanopia (blue-blind)
#933654
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2e82;
/* rgb */ color: rgb(141, 46, 130);
/* oklch */ color: oklch(47.3% 0.162 332.8);
Tailwind
colors: {
  custom: {
    50: '#b16fa6',
    500: '#8d2e82',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e82;
$custom-light: #b16fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e82",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 306.947,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4731,
    "c": 0.16198,
    "h": 332.8
  },
  "luminance": 0.09228
}

Semantic roles & 50–950 ramp

primary
#8D2E82
secondary
#62B56C
accent
#DA5E4E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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