#8945AC#8945AC

#8945AC is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.1% C 0.166 H 312.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8945AC
RGBrgb(137, 69, 172)
HSLhsl(280, 43%, 47%)
HSVhsv(280, 60%, 67%)
CMYKcmyk(20.3%, 59.9%, 0%, 32.5%)
CIE-LABlab(42.08, 46.49, -43.57)
CIE-LCHlch(42.08, 63.71, 316.86°)
OKLaboklab(52.06% 0.1121 -0.1223)
OKLCHoklch(52.06% 0.166 312.5)
XYZxyz(19.8897, 12.5537, 40.3971)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945AC #68AC45
analogous
#5645AC #8945AC #AC459C
triadic
#8945AC #AC8945 #45AC89
tetradic
#8945AC #AC5645 #68AC45 #459CAC
square
#8945AC #AC5645 #68AC45 #459CAC
split-complementary
#8945AC #9CAC45 #45AC56
monochromatic
#432255 #663380 #8945AC #A56BC4 #C096D5

Accessibility & contrast

On white

5.98
#8945AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8945AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8945AC#FFFFFF#000000##FFFFFF
##8945AC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#3F65A9
Tritanopia (blue-blind)
#855872
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8945ac;
/* rgb */ color: rgb(137, 69, 172);
/* oklch */ color: oklch(52.1% 0.166 312.5);
Tailwind
colors: {
  custom: {
    50: '#ae7cc5',
    500: '#8945ac',
    950: '#000000',
  },
}
SCSS
$custom: #8945ac;
$custom-light: #ae7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8945ac",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 279.612,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52057,
    "c": 0.16594,
    "h": 312.5
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#8945AC
secondary
#9EC18C
accent
#D35580
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8945AC

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

Preview Lab → · Contrast checker → · Palette generator →

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