#8047AA#8047AA

#8047AA is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.1% C 0.157 H 308.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8047AA
RGBrgb(128, 71, 170)
HSLhsl(275, 41%, 47%)
HSVhsv(275, 58%, 67%)
CMYKcmyk(24.7%, 58.2%, 0%, 33.3%)
CIE-LABlab(41.21, 42.68, -43.84)
CIE-LCHlch(41.21, 61.19, 314.24°)
OKLaboklab(51.14% 0.0978 -0.1234)
OKLCHoklch(51.14% 0.157 308.4)
XYZxyz(18.4096, 11.9982, 39.3685)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8047AA #71AA47
analogous
#4E47AA #8047AA #AA47A3
triadic
#8047AA #AA8047 #47AA80
tetradic
#8047AA #AA4E47 #71AA47 #47A3AA
square
#8047AA #AA4E47 #71AA47 #47A3AA
split-complementary
#8047AA #A3AA47 #47AA4E
monochromatic
#3F2354 #5F357F #8047AA #9E6CC2 #BA98D4

Accessibility & contrast

On white

6.18
#8047AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8047AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8047AA#FFFFFF#000000##FFFFFF
##8047AA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAD
Deuteranopia (green-blind)
#3A62A8
Tritanopia (blue-blind)
#7A5972
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8047aa;
/* rgb */ color: rgb(128, 71, 170);
/* oklch */ color: oklch(51.1% 0.157 308.4);
Tailwind
colors: {
  custom: {
    50: '#a87dc4',
    500: '#8047aa',
    950: '#000000',
  },
}
SCSS
$custom: #8047aa;
$custom-light: #a87dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8047aa",
  "rgb": {
    "r": 128,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 274.545,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51136,
    "c": 0.15743,
    "h": 308.4
  },
  "luminance": 0.11998
}

Semantic roles & 50–950 ramp

primary
#8047AA
secondary
#A3C08D
accent
#D1578B
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8047AA

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

Preview Lab → · Contrast checker → · Palette generator →

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