#8D2EA6#8D2EA6

#8D2EA6 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.193 H 318.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8D2EA6
RGBrgb(141, 46, 166)
HSLhsl(288, 57%, 42%)
HSVhsv(288, 72%, 65%)
CMYKcmyk(15.1%, 72.3%, 0%, 34.9%)
CIE-LABlab(38.50, 56.64, -45.70)
CIE-LCHlch(38.50, 72.77, 321.10°)
OKLaboklab(49.47% 0.1443 -0.1283)
OKLCHoklch(49.47% 0.193 318.4)
XYZxyz(18.8435, 10.3707, 37.0782)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EA6 #47A62E
analogous
#512EA6 #8D2EA6 #A62E83
triadic
#8D2EA6 #A68D2E #2EA68D
tetradic
#8D2EA6 #A6512E #47A62E #2E83A6
square
#8D2EA6 #A6512E #47A62E #2E83A6
split-complementary
#8D2EA6 #83A62E #2EA651
monochromatic
#3C1346 #642176 #8D2EA6 #B046CC #C476D9

Accessibility & contrast

On white

6.83
#8D2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8D2EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2EA6
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EA6#FFFFFF#000000##FFFFFF
##8D2EA61.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#345EA3
Tritanopia (blue-blind)
#8C4667
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d2ea6;
/* rgb */ color: rgb(141, 46, 166);
/* oklch */ color: oklch(49.5% 0.193 318.4);
Tailwind
colors: {
  custom: {
    50: '#b270c1',
    500: '#8d2ea6',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ea6;
$custom-light: #b270c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ea6",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 287.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49473,
    "c": 0.19305,
    "h": 318.4
  },
  "luminance": 0.1037
}

Semantic roles & 50–950 ramp

primary
#8D2EA6
secondary
#80C16F
accent
#E04868
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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