#8946AC#8946AC

#8946AC is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.164 H 312.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8946AC
RGBrgb(137, 70, 172)
HSLhsl(279, 42%, 47%)
HSVhsv(279, 59%, 67%)
CMYKcmyk(20.3%, 59.3%, 0%, 32.5%)
CIE-LABlab(42.27, 45.98, -43.27)
CIE-LCHlch(42.27, 63.13, 316.74°)
OKLaboklab(52.2% 0.1108 -0.1214)
OKLCHoklch(52.2% 0.164 312.4)
XYZxyz(19.9518, 12.6777, 40.4178)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946AC #69AC46
analogous
#5646AC #8946AC #AC469C
triadic
#8946AC #AC8946 #46AC89
tetradic
#8946AC #AC5646 #69AC46 #469CAC
square
#8946AC #AC5646 #69AC46 #469CAC
split-complementary
#8946AC #9CAC46 #46AC56
monochromatic
#442355 #663481 #8946AC #A56CC3 #C098D5

Accessibility & contrast

On white

5.94
#8946AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8946AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8946AC#FFFFFF#000000##FFFFFF
##8946AC1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#4065AA
Tritanopia (blue-blind)
#855872
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8946ac;
/* rgb */ color: rgb(137, 70, 172);
/* oklch */ color: oklch(52.2% 0.164 312.4);
Tailwind
colors: {
  custom: {
    50: '#ae7dc5',
    500: '#8946ac',
    950: '#000000',
  },
}
SCSS
$custom: #8946ac;
$custom-light: #ae7dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8946ac",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 279.412,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52196,
    "c": 0.16441,
    "h": 312.4
  },
  "luminance": 0.12677
}

Semantic roles & 50–950 ramp

primary
#8946AC
secondary
#9FC18D
accent
#D25680
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8946AC

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

Preview Lab → · Contrast checker → · Palette generator →

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