#8A49AE#8A49AE

#8A49AE is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.162 H 311.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8A49AE
RGBrgb(138, 73, 174)
HSLhsl(279, 41%, 48%)
HSVhsv(279, 58%, 68%)
CMYKcmyk(20.7%, 58%, 0%, 31.8%)
CIE-LABlab(43.10, 45.12, -43.12)
CIE-LCHlch(43.10, 62.41, 316.30°)
OKLaboklab(52.87% 0.1082 -0.121)
OKLCHoklch(52.87% 0.162 311.8)
XYZxyz(20.5024, 13.2248, 41.5088)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A49AE #6DAE49
analogous
#5749AE #8A49AE #AE499F
triadic
#8A49AE #AE8A49 #49AE8A
tetradic
#8A49AE #AE5749 #6DAE49 #499FAE
square
#8A49AE #AE5749 #6DAE49 #499FAE
split-complementary
#8A49AE #9FAE49 #49AE57
monochromatic
#462558 #683783 #8A49AE #A671C3 #C19CD5

Accessibility & contrast

On white

5.76
#8A49AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8A49AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A49AE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A49AE#FFFFFF#000000##FFFFFF
##8A49AE1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B1
Deuteranopia (green-blind)
#4267AC
Tritanopia (blue-blind)
#865B74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a49ae;
/* rgb */ color: rgb(138, 73, 174);
/* oklch */ color: oklch(52.9% 0.162 311.8);
Tailwind
colors: {
  custom: {
    50: '#af7fc7',
    500: '#8a49ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a49ae;
$custom-light: #af7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a49ae",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 174
  },
  "hsl": {
    "h": 278.614,
    "s": 40.891,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.16234,
    "h": 311.8
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

primary
#8A49AE
secondary
#A2C291
accent
#D15782
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A49AE

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

Preview Lab → · Contrast checker → · Palette generator →

#8A49AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva