#8D2EA3#8D2EA3

#8D2EA3 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.190 H 319.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8D2EA3
RGBrgb(141, 46, 163)
HSLhsl(289, 56%, 41%)
HSVhsv(289, 72%, 64%)
CMYKcmyk(13.5%, 71.8%, 0%, 36.1%)
CIE-LABlab(38.31, 56.05, -44.21)
CIE-LCHlch(38.31, 71.39, 321.74°)
OKLaboklab(49.28% 0.1445 -0.1239)
OKLCHoklch(49.28% 0.19 319.4)
XYZxyz(18.5715, 10.2619, 35.6457)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EA3 #44A32E
analogous
#522EA3 #8D2EA3 #A32E7E
triadic
#8D2EA3 #A38D2E #2EA38D
tetradic
#8D2EA3 #A3522E #44A32E #2E7EA3
square
#8D2EA3 #A3522E #44A32E #2E7EA3
split-complementary
#8D2EA3 #7EA32E #2EA352
monochromatic
#3A1344 #642173 #8D2EA3 #B144CA #C574D8

Accessibility & contrast

On white

6.88
#8D2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8D2EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2EA3
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EA3#FFFFFF#000000##FFFFFF
##8D2EA31.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#375DA0
Tritanopia (blue-blind)
#8D4465
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2ea3;
/* rgb */ color: rgb(141, 46, 163);
/* oklch */ color: oklch(49.3% 0.190 319.4);
Tailwind
colors: {
  custom: {
    50: '#b270bf',
    500: '#8d2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ea3;
$custom-light: #b270bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ea3",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 288.718,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49275,
    "c": 0.19035,
    "h": 319.4
  },
  "luminance": 0.10261
}

Semantic roles & 50–950 ramp

primary
#8D2EA3
secondary
#7DBF6D
accent
#DF4965
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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