#8047AE#8047AE

#8047AE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.162 H 307.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8047AE
RGBrgb(128, 71, 174)
HSLhsl(273, 42%, 48%)
HSVhsv(273, 59%, 68%)
CMYKcmyk(26.4%, 59.2%, 0%, 31.8%)
CIE-LABlab(41.46, 43.63, -45.82)
CIE-LCHlch(41.46, 63.27, 313.60°)
OKLaboklab(51.39% 0.0978 -0.1292)
OKLCHoklch(51.39% 0.162 307.1)
XYZxyz(18.7937, 12.1519, 41.3917)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047AE #75AE47
analogous
#4C47AE #8047AE #AE47A8
triadic
#8047AE #AE8047 #47AE80
tetradic
#8047AE #AE4C47 #75AE47 #47A8AE
square
#8047AE #AE4C47 #75AE47 #47A8AE
split-complementary
#8047AE #A8AE47 #47AE4C
monochromatic
#402457 #603583 #8047AE #9E6EC4 #BB9AD6

Accessibility & contrast

On white

6.12
#8047AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8047AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8047AE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8047AE#FFFFFF#000000##FFFFFF
##8047AE1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D60B1
Deuteranopia (green-blind)
#3662AC
Tritanopia (blue-blind)
#795B74
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8047ae;
/* rgb */ color: rgb(128, 71, 174);
/* oklch */ color: oklch(51.4% 0.162 307.1);
Tailwind
colors: {
  custom: {
    50: '#a87dc7',
    500: '#8047ae',
    950: '#000000',
  },
}
SCSS
$custom: #8047ae;
$custom-light: #a87dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8047ae",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 273.204,
    "s": 42.041,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51392,
    "c": 0.16205,
    "h": 307.1
  },
  "luminance": 0.12152
}

Semantic roles & 50–950 ramp

primary
#8047AE
secondary
#A6C28F
accent
#D2568D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8047AE

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

Preview Lab → · Contrast checker → · Palette generator →

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