#8D2AA3#8D2AA3

#8D2AA3 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.195 H 319.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8D2AA3
RGBrgb(141, 42, 163)
HSLhsl(289, 59%, 40%)
HSVhsv(289, 74%, 64%)
CMYKcmyk(13.5%, 74.2%, 0%, 36.1%)
CIE-LABlab(37.78, 57.56, -45.06)
CIE-LCHlch(37.78, 73.10, 321.95°)
OKLaboklab(48.9% 0.1485 -0.1264)
OKLCHoklch(48.9% 0.195 319.6)
XYZxyz(18.4225, 9.9639, 35.5961)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AA3 #40A32A
analogous
#512AA3 #8D2AA3 #A32A7C
triadic
#8D2AA3 #A38D2A #2AA38D
tetradic
#8D2AA3 #A3512A #40A32A #2A7CA3
square
#8D2AA3 #A3512A #40A32A #2A7CA3
split-complementary
#8D2AA3 #7CA32A #2AA351
monochromatic
#391142 #631D72 #8D2AA3 #B33DCD #C66EDA

Accessibility & contrast

On white

7.02
#8D2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8D2AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2AA3
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AA3#FFFFFF#000000##FFFFFF
##8D2AA31.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#345CA0
Tritanopia (blue-blind)
#8D4264
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2aa3;
/* rgb */ color: rgb(141, 42, 163);
/* oklch */ color: oklch(48.9% 0.195 319.6);
Tailwind
colors: {
  custom: {
    50: '#b26ebf',
    500: '#8d2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #8d2aa3;
$custom-light: #b26ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2aa3",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 289.091,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48897,
    "c": 0.19499,
    "h": 319.6
  },
  "luminance": 0.09963
}

Semantic roles & 50–950 ramp

primary
#8D2AA3
secondary
#78C068
accent
#E24662
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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