#8049AC#8049AC

#8049AC is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.6% C 0.157 H 307.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8049AC
RGBrgb(128, 73, 172)
HSLhsl(273, 40%, 48%)
HSVhsv(273, 58%, 67%)
CMYKcmyk(25.6%, 57.6%, 0%, 32.5%)
CIE-LABlab(41.74, 42.08, -44.18)
CIE-LCHlch(41.74, 61.01, 313.60°)
OKLaboklab(51.56% 0.0952 -0.1244)
OKLCHoklch(51.56% 0.157 307.4)
XYZxyz(18.7295, 12.3331, 40.4156)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049AC #75AC49
analogous
#4E49AC #8049AC #AC49A6
triadic
#8049AC #AC8049 #49AC80
tetradic
#8049AC #AC4E49 #75AC49 #49A6AC
square
#8049AC #AC4E49 #75AC49 #49A6AC
split-complementary
#8049AC #A6AC49 #49AC4E
monochromatic
#402556 #603781 #8049AC #9E70C2 #BB9BD5

Accessibility & contrast

On white

6.06
#8049AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8049AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8049AC#FFFFFF#000000##FFFFFF
##8049AC1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2560AF
Deuteranopia (green-blind)
#3A63AA
Tritanopia (blue-blind)
#795C73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8049ac;
/* rgb */ color: rgb(128, 73, 172);
/* oklch */ color: oklch(51.6% 0.157 307.4);
Tailwind
colors: {
  custom: {
    50: '#a87ec5',
    500: '#8049ac',
    950: '#000000',
  },
}
SCSS
$custom: #8049ac;
$custom-light: #a87ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#8049ac",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 172
  },
  "hsl": {
    "h": 273.333,
    "s": 40.408,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5156,
    "c": 0.15664,
    "h": 307.4
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#8049AC
secondary
#A6C190
accent
#D0588D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8049AC

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

Preview Lab → · Contrast checker → · Palette generator →

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