#8D45AA#8D45AA

#8D45AA is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.4% C 0.165 H 315.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8D45AA
RGBrgb(141, 69, 170)
HSLhsl(283, 42%, 47%)
HSVhsv(283, 59%, 67%)
CMYKcmyk(17.1%, 59.4%, 0%, 33.3%)
CIE-LABlab(42.49, 47.08, -41.70)
CIE-LCHlch(42.49, 62.89, 318.47°)
OKLaboklab(52.43% 0.1172 -0.1167)
OKLCHoklch(52.43% 0.165 315.1)
XYZxyz(20.3672, 12.8219, 39.4244)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D45AA #62AA45
analogous
#5B45AA #8D45AA #AA4595
triadic
#8D45AA #AA8D45 #45AA8D
tetradic
#8D45AA #AA5B45 #62AA45 #4595AA
square
#8D45AA #AA5B45 #62AA45 #4595AA
split-complementary
#8D45AA #95AA45 #45AA5B
monochromatic
#452253 #69337E #8D45AA #A96AC2 #C295D4

Accessibility & contrast

On white

5.89
#8D45AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8D45AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D45AA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D45AA#FFFFFF#000000##FFFFFF
##8D45AA1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#4466A7
Tritanopia (blue-blind)
#8B5671
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d45aa;
/* rgb */ color: rgb(141, 69, 170);
/* oklch */ color: oklch(52.4% 0.165 315.1);
Tailwind
colors: {
  custom: {
    50: '#b17cc4',
    500: '#8d45aa',
    950: '#000000',
  },
}
SCSS
$custom: #8d45aa;
$custom-light: #b17cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d45aa",
  "rgb": {
    "r": 141,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 282.772,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52432,
    "c": 0.16541,
    "h": 315.1
  },
  "luminance": 0.12821
}

Semantic roles & 50–950 ramp

primary
#8D45AA
secondary
#9AC08B
accent
#D25679
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8D45AA

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

Preview Lab → · Contrast checker → · Palette generator →

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