#8031A9#8031A9

#8031A9 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.187 H 311.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8031A9
RGBrgb(128, 49, 169)
HSLhsl(280, 55%, 43%)
HSVhsv(280, 71%, 66%)
CMYKcmyk(24.3%, 71%, 0%, 33.7%)
CIE-LABlab(37.21, 53.25, -49.67)
CIE-LCHlch(37.21, 72.82, 316.99°)
OKLaboklab(48.22% 0.1242 -0.1404)
OKLCHoklch(48.22% 0.187 311.5)
XYZxyz(17.1605, 9.6508, 38.4872)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031A9 #5AA931
analogous
#4431A9 #8031A9 #A93196
triadic
#8031A9 #A98031 #31A980
tetradic
#8031A9 #A94431 #5AA931 #3196A9
square
#8031A9 #A94431 #5AA931 #3196A9
split-complementary
#8031A9 #96A931 #31A944
monochromatic
#38154A #5C237A #8031A9 #A04CCB #B97CD9

Accessibility & contrast

On white

7.17
#8031A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8031A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8031A9
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031A9#FFFFFF#000000##FFFFFF
##8031A91.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#2159A6
Tritanopia (blue-blind)
#7B4B6A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8031a9;
/* rgb */ color: rgb(128, 49, 169);
/* oklch */ color: oklch(48.2% 0.187 311.5);
Tailwind
colors: {
  custom: {
    50: '#a970c3',
    500: '#8031a9',
    950: '#000000',
  },
}
SCSS
$custom: #8031a9;
$custom-light: #a970c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8031a9",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 279.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48221,
    "c": 0.18744,
    "h": 311.5
  },
  "luminance": 0.0965
}

Semantic roles & 50–950 ramp

primary
#8031A9
secondary
#8FC174
accent
#DE497C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8031A9

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

Preview Lab → · Contrast checker → · Palette generator →

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