#8049AA#8049AA

#8049AA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.4% C 0.154 H 308.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8049AA
RGBrgb(128, 73, 170)
HSLhsl(274, 40%, 48%)
HSVhsv(274, 57%, 67%)
CMYKcmyk(24.7%, 57.1%, 0%, 33.3%)
CIE-LABlab(41.62, 41.60, -43.19)
CIE-LCHlch(41.62, 59.96, 313.93°)
OKLaboklab(51.43% 0.0951 -0.1215)
OKLCHoklch(51.43% 0.154 308.1)
XYZxyz(18.5389, 12.2568, 39.4116)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049AA #73AA49
analogous
#5049AA #8049AA #AA49A3
triadic
#8049AA #AA8049 #49AA80
tetradic
#8049AA #AA5049 #73AA49 #49A3AA
square
#8049AA #AA5049 #73AA49 #49A3AA
split-complementary
#8049AA #A3AA49 #49AA50
monochromatic
#402454 #60377F #8049AA #9E6FC1 #BB9AD4

Accessibility & contrast

On white

6.08
#8049AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8049AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049AA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049AA#FFFFFF#000000##FFFFFF
##8049AA1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AD
Deuteranopia (green-blind)
#3C63A8
Tritanopia (blue-blind)
#7A5B72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8049aa;
/* rgb */ color: rgb(128, 73, 170);
/* oklch */ color: oklch(51.4% 0.154 308.1);
Tailwind
colors: {
  custom: {
    50: '#a87ec4',
    500: '#8049aa',
    950: '#000000',
  },
}
SCSS
$custom: #8049aa;
$custom-light: #a87ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#8049aa",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 170
  },
  "hsl": {
    "h": 274.021,
    "s": 39.918,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51435,
    "c": 0.1543,
    "h": 308.1
  },
  "luminance": 0.12257
}

Semantic roles & 50–950 ramp

primary
#8049AA
secondary
#A4C08F
accent
#D0588C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8049AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8049AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva