#8940AE#8940AE

#8940AE is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.175 H 312.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8940AE
RGBrgb(137, 64, 174)
HSLhsl(280, 46%, 47%)
HSVhsv(280, 63%, 68%)
CMYKcmyk(21.3%, 63.2%, 0%, 31.8%)
CIE-LABlab(41.28, 49.44, -46.03)
CIE-LCHlch(41.28, 67.55, 317.04°)
OKLaboklab(51.52% 0.1184 -0.1295)
OKLCHoklch(51.52% 0.175 312.4)
XYZxyz(19.7885, 12.0417, 41.3180)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8940AE #65AE40
analogous
#5240AE #8940AE #AE409C
triadic
#8940AE #AE8940 #40AE89
tetradic
#8940AE #AE5240 #65AE40 #409CAE
square
#8940AE #AE5240 #65AE40 #409CAE
split-complementary
#8940AE #9CAE40 #40AE52
monochromatic
#431F55 #663081 #8940AE #A665C6 #C092D7

Accessibility & contrast

On white

6.16
#8940AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8940AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8940AE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8940AE#FFFFFF#000000##FFFFFF
##8940AE1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105EB1
Deuteranopia (green-blind)
#3863AB
Tritanopia (blue-blind)
#855571
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8940ae;
/* rgb */ color: rgb(137, 64, 174);
/* oklch */ color: oklch(51.5% 0.175 312.4);
Tailwind
colors: {
  custom: {
    50: '#af79c7',
    500: '#8940ae',
    950: '#000000',
  },
}
SCSS
$custom: #8940ae;
$custom-light: #af79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8940ae",
  "rgb": {
    "r": 137,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 279.818,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51515,
    "c": 0.17549,
    "h": 312.4
  },
  "luminance": 0.12041
}

Semantic roles & 50–950 ramp

primary
#8940AE
secondary
#9BC288
accent
#D6527E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8940AE

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

Preview Lab → · Contrast checker → · Palette generator →

#8940AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva