#8946AA#8946AA

#8946AA is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.1% C 0.162 H 313.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8946AA
RGBrgb(137, 70, 170)
HSLhsl(280, 42%, 47%)
HSVhsv(280, 59%, 67%)
CMYKcmyk(19.4%, 58.8%, 0%, 33.3%)
CIE-LABlab(42.16, 45.53, -42.27)
CIE-LCHlch(42.16, 62.13, 317.13°)
OKLaboklab(52.07% 0.1108 -0.1185)
OKLCHoklch(52.07% 0.162 313.1)
XYZxyz(19.7611, 12.6015, 39.4138)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946AA #67AA46
analogous
#5746AA #8946AA #AA4699
triadic
#8946AA #AA8946 #46AA89
tetradic
#8946AA #AA5746 #67AA46 #4699AA
square
#8946AA #AA5746 #67AA46 #4699AA
split-complementary
#8946AA #99AA46 #46AA57
monochromatic
#432253 #66347F #8946AA #A56BC2 #C096D4

Accessibility & contrast

On white

5.97
#8946AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8946AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946AA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946AA#FFFFFF#000000##FFFFFF
##8946AA1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AD
Deuteranopia (green-blind)
#4165A8
Tritanopia (blue-blind)
#865871
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8946aa;
/* rgb */ color: rgb(137, 70, 170);
/* oklch */ color: oklch(52.1% 0.162 313.1);
Tailwind
colors: {
  custom: {
    50: '#ae7dc4',
    500: '#8946aa',
    950: '#000000',
  },
}
SCSS
$custom: #8946aa;
$custom-light: #ae7dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8946aa",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 280.2,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52073,
    "c": 0.16223,
    "h": 313.1
  },
  "luminance": 0.12601
}

Semantic roles & 50–950 ramp

primary
#8946AA
secondary
#9DC08C
accent
#D1567F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8946AA

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

Preview Lab → · Contrast checker → · Palette generator →

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