#8D2EA8#8D2EA8

#8D2EA8 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.195 H 317.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8D2EA8
RGBrgb(141, 46, 168)
HSLhsl(287, 57%, 42%)
HSVhsv(287, 73%, 66%)
CMYKcmyk(16.1%, 72.6%, 0%, 34.1%)
CIE-LABlab(38.63, 57.03, -46.69)
CIE-LCHlch(38.63, 73.70, 320.69°)
OKLaboklab(49.61% 0.1441 -0.1312)
OKLCHoklch(49.61% 0.195 317.7)
XYZxyz(19.0284, 10.4447, 38.0519)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EA8 #49A82E
analogous
#502EA8 #8D2EA8 #A82E86
triadic
#8D2EA8 #A88D2E #2EA88D
tetradic
#8D2EA8 #A8502E #49A82E #2E86A8
square
#8D2EA8 #A8502E #49A82E #2E86A8
split-complementary
#8D2EA8 #86A82E #2EA850
monochromatic
#3C1448 #652178 #8D2EA8 #AF47CD #C477DA

Accessibility & contrast

On white

6.80
#8D2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8D2EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2EA8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EA8#FFFFFF#000000##FFFFFF
##8D2EA81.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#325EA5
Tritanopia (blue-blind)
#8C4768
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d2ea8;
/* rgb */ color: rgb(141, 46, 168);
/* oklch */ color: oklch(49.6% 0.195 317.7);
Tailwind
colors: {
  custom: {
    50: '#b270c2',
    500: '#8d2ea8',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ea8;
$custom-light: #b270c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ea8",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 286.721,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49606,
    "c": 0.19487,
    "h": 317.7
  },
  "luminance": 0.10444
}

Semantic roles & 50–950 ramp

primary
#8D2EA8
secondary
#82C270
accent
#E04869
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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