#8031AC#8031AC

#8031AC is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.190 H 310.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8031AC
RGBrgb(128, 49, 172)
HSLhsl(279, 56%, 43%)
HSVhsv(279, 72%, 67%)
CMYKcmyk(25.6%, 71.5%, 0%, 32.5%)
CIE-LABlab(37.42, 53.91, -51.13)
CIE-LCHlch(37.42, 74.30, 316.52°)
OKLaboklab(48.44% 0.1238 -0.1446)
OKLCHoklch(48.44% 0.19 310.6)
XYZxyz(17.4454, 9.7648, 39.9875)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031AC #5DAC31
analogous
#4331AC #8031AC #AC319A
triadic
#8031AC #AC8031 #31AC80
tetradic
#8031AC #AC4331 #5DAC31 #319AAC
square
#8031AC #AC4331 #5DAC31 #319AAC
split-complementary
#8031AC #9AAC31 #31AC43
monochromatic
#39164D #5D237C #8031AC #9F4ECC #B97DDA

Accessibility & contrast

On white

7.11
#8031AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8031AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8031AC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031AC#FFFFFF#000000##FFFFFF
##8031AC1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#1C59A9
Tritanopia (blue-blind)
#7A4C6B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8031ac;
/* rgb */ color: rgb(128, 49, 172);
/* oklch */ color: oklch(48.4% 0.190 310.6);
Tailwind
colors: {
  custom: {
    50: '#a970c5',
    500: '#8031ac',
    950: '#000000',
  },
}
SCSS
$custom: #8031ac;
$custom-light: #a970c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8031ac",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 278.537,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48436,
    "c": 0.19041,
    "h": 310.6
  },
  "luminance": 0.09764
}

Semantic roles & 50–950 ramp

primary
#8031AC
secondary
#91C376
accent
#DF497F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8031AC

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

Preview Lab → · Contrast checker → · Palette generator →

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