#8949AC#8949AC

#8949AC is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.160 H 312.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8949AC
RGBrgb(137, 73, 172)
HSLhsl(279, 40%, 48%)
HSVhsv(279, 58%, 67%)
CMYKcmyk(20.3%, 57.6%, 0%, 32.5%)
CIE-LABlab(42.86, 44.41, -42.33)
CIE-LCHlch(42.86, 61.36, 316.37°)
OKLaboklab(52.62% 0.1069 -0.1187)
OKLCHoklch(52.62% 0.16 312)
XYZxyz(20.1441, 13.0625, 40.4819)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8949AC #6CAC49
analogous
#5749AC #8949AC #AC499D
triadic
#8949AC #AC8949 #49AC89
tetradic
#8949AC #AC5749 #6CAC49 #499DAC
square
#8949AC #AC5749 #6CAC49 #499DAC
split-complementary
#8949AC #9DAC49 #49AC57
monochromatic
#452556 #673781 #8949AC #A570C2 #C09BD5

Accessibility & contrast

On white

5.81
#8949AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8949AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8949AC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8949AC#FFFFFF#000000##FFFFFF
##8949AC1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B62AF
Deuteranopia (green-blind)
#4267AA
Tritanopia (blue-blind)
#855A73
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8949ac;
/* rgb */ color: rgb(137, 73, 172);
/* oklch */ color: oklch(52.6% 0.160 312.0);
Tailwind
colors: {
  custom: {
    50: '#ae7fc5',
    500: '#8949ac',
    950: '#000000',
  },
}
SCSS
$custom: #8949ac;
$custom-light: #ae7fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8949ac",
  "rgb": {
    "r": 137,
    "g": 73,
    "b": 172
  },
  "hsl": {
    "h": 278.788,
    "s": 40.408,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52623,
    "c": 0.15975,
    "h": 312
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#8949AC
secondary
#A1C190
accent
#D05882
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8949AC

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

Preview Lab → · Contrast checker → · Palette generator →

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