#8945AA#8945AA

#8945AA is a mid, vivid purple. Relative luminance 0.125; OKLCH L 51.9% C 0.164 H 313.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8945AA
RGBrgb(137, 69, 170)
HSLhsl(280, 42%, 47%)
HSVhsv(280, 59%, 67%)
CMYKcmyk(19.4%, 59.4%, 0%, 33.3%)
CIE-LABlab(41.97, 46.05, -42.57)
CIE-LCHlch(41.97, 62.71, 317.25°)
OKLaboklab(51.93% 0.1121 -0.1194)
OKLCHoklch(51.93% 0.164 313.2)
XYZxyz(19.6991, 12.4774, 39.3931)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945AA #66AA45
analogous
#5745AA #8945AA #AA4599
triadic
#8945AA #AA8945 #45AA89
tetradic
#8945AA #AA5745 #66AA45 #4599AA
square
#8945AA #AA5745 #66AA45 #4599AA
split-complementary
#8945AA #99AA45 #45AA57
monochromatic
#432253 #66337E #8945AA #A56AC2 #C095D4

Accessibility & contrast

On white

6.01
#8945AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8945AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945AA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945AA#FFFFFF#000000##FFFFFF
##8945AA1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAD
Deuteranopia (green-blind)
#4065A8
Tritanopia (blue-blind)
#865771
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8945aa;
/* rgb */ color: rgb(137, 69, 170);
/* oklch */ color: oklch(51.9% 0.164 313.2);
Tailwind
colors: {
  custom: {
    50: '#ae7cc4',
    500: '#8945aa',
    950: '#000000',
  },
}
SCSS
$custom: #8945aa;
$custom-light: #ae7cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8945aa",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 280.396,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51933,
    "c": 0.16377,
    "h": 313.2
  },
  "luminance": 0.12477
}

Semantic roles & 50–950 ramp

primary
#8945AA
secondary
#9CC08B
accent
#D2567E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8945AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8945AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva