#8D46AA#8D46AA

#8D46AA is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.6% C 0.164 H 315.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8D46AA
RGBrgb(141, 70, 170)
HSLhsl(283, 42%, 47%)
HSVhsv(283, 59%, 67%)
CMYKcmyk(17.1%, 58.8%, 0%, 33.3%)
CIE-LABlab(42.68, 46.57, -41.40)
CIE-LCHlch(42.68, 62.31, 318.36°)
OKLaboklab(52.57% 0.1159 -0.1159)
OKLCHoklch(52.57% 0.164 315)
XYZxyz(20.4292, 12.9460, 39.4451)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D46AA #63AA46
analogous
#5B46AA #8D46AA #AA4695
triadic
#8D46AA #AA8D46 #46AA8D
tetradic
#8D46AA #AA5B46 #63AA46 #4695AA
square
#8D46AA #AA5B46 #63AA46 #4695AA
split-complementary
#8D46AA #95AA46 #46AA5B
monochromatic
#452253 #69347F #8D46AA #A96BC2 #C296D4

Accessibility & contrast

On white

5.85
#8D46AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8D46AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D46AA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D46AA#FFFFFF#000000##FFFFFF
##8D46AA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AD
Deuteranopia (green-blind)
#4567A7
Tritanopia (blue-blind)
#8B5771
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d46aa;
/* rgb */ color: rgb(141, 70, 170);
/* oklch */ color: oklch(52.6% 0.164 315.0);
Tailwind
colors: {
  custom: {
    50: '#b17dc4',
    500: '#8d46aa',
    950: '#000000',
  },
}
SCSS
$custom: #8d46aa;
$custom-light: #b17dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d46aa",
  "rgb": {
    "r": 141,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 282.6,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52569,
    "c": 0.16387,
    "h": 315
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#8D46AA
secondary
#9BC08C
accent
#D1567A
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8D46AA

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

Preview Lab → · Contrast checker → · Palette generator →

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