#8D2EA5#8D2EA5

#8D2EA5 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.192 H 318.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8D2EA5
RGBrgb(141, 46, 165)
HSLhsl(288, 56%, 41%)
HSVhsv(288, 72%, 65%)
CMYKcmyk(14.5%, 72.1%, 0%, 35.3%)
CIE-LABlab(38.44, 56.44, -45.20)
CIE-LCHlch(38.44, 72.31, 321.31°)
OKLaboklab(49.41% 0.1444 -0.1268)
OKLCHoklch(49.41% 0.192 318.7)
XYZxyz(18.7521, 10.3342, 36.5970)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EA5 #46A52E
analogous
#522EA5 #8D2EA5 #A52E82
triadic
#8D2EA5 #A58D2E #2EA58D
tetradic
#8D2EA5 #A5522E #46A52E #2E82A5
square
#8D2EA5 #A5522E #46A52E #2E82A5
split-complementary
#8D2EA5 #82A52E #2EA552
monochromatic
#3B1345 #642175 #8D2EA5 #B045CB #C475D8

Accessibility & contrast

On white

6.85
#8D2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D2EA5
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EA5#FFFFFF#000000##FFFFFF
##8D2EA51.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#355EA2
Tritanopia (blue-blind)
#8D4567
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2ea5;
/* rgb */ color: rgb(141, 46, 165);
/* oklch */ color: oklch(49.4% 0.192 318.7);
Tailwind
colors: {
  custom: {
    50: '#b270c0',
    500: '#8d2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ea5;
$custom-light: #b270c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ea5",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 287.899,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49407,
    "c": 0.19215,
    "h": 318.7
  },
  "luminance": 0.10333
}

Semantic roles & 50–950 ramp

primary
#8D2EA5
secondary
#7FC06F
accent
#E04867
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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