#8048AE#8048AE

#8048AE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.161 H 307.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8048AE
RGBrgb(128, 72, 174)
HSLhsl(273, 41%, 48%)
HSVhsv(273, 59%, 68%)
CMYKcmyk(26.4%, 58.6%, 0%, 31.8%)
CIE-LABlab(41.66, 43.10, -45.50)
CIE-LCHlch(41.66, 62.67, 313.45°)
OKLaboklab(51.54% 0.0966 -0.1282)
OKLCHoklch(51.54% 0.161 307)
XYZxyz(18.8579, 12.2801, 41.4130)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8048AE #76AE48
analogous
#4D48AE #8048AE #AE48A9
triadic
#8048AE #AE8048 #48AE80
tetradic
#8048AE #AE4D48 #76AE48 #48A9AE
square
#8048AE #AE4D48 #76AE48 #48A9AE
split-complementary
#8048AE #A9AE48 #48AE4D
monochromatic
#402457 #603683 #8048AE #9E70C4 #BB9BD6

Accessibility & contrast

On white

6.08
#8048AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8048AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8048AE#FFFFFF#000000##FFFFFF
##8048AE1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2060B1
Deuteranopia (green-blind)
#3763AC
Tritanopia (blue-blind)
#795C74
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8048ae;
/* rgb */ color: rgb(128, 72, 174);
/* oklch */ color: oklch(51.5% 0.161 307.0);
Tailwind
colors: {
  custom: {
    50: '#a87dc7',
    500: '#8048ae',
    950: '#000000',
  },
}
SCSS
$custom: #8048ae;
$custom-light: #a87dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8048ae",
  "rgb": {
    "r": 128,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 272.941,
    "s": 41.463,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51539,
    "c": 0.16052,
    "h": 307
  },
  "luminance": 0.1228
}

Semantic roles & 50–950 ramp

primary
#8048AE
secondary
#A6C290
accent
#D1578E
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8048AE

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

Preview Lab → · Contrast checker → · Palette generator →

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