#8031AF#8031AF

#8031AF is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.7% C 0.193 H 309.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8031AF
RGBrgb(128, 49, 175)
HSLhsl(278, 56%, 44%)
HSVhsv(278, 72%, 69%)
CMYKcmyk(26.9%, 72%, 0%, 31.4%)
CIE-LABlab(37.63, 54.57, -52.57)
CIE-LCHlch(37.63, 75.77, 316.07°)
OKLaboklab(48.65% 0.1234 -0.1489)
OKLCHoklch(48.65% 0.193 309.7)
XYZxyz(17.7367, 9.8813, 41.5221)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8031AF #60AF31
analogous
#4131AF #8031AF #AF319F
triadic
#8031AF #AF8031 #31AF80
tetradic
#8031AF #AF4131 #60AF31 #319FAF
square
#8031AF #AF4131 #60AF31 #319FAF
split-complementary
#8031AF #9FAF31 #31AF41
monochromatic
#3A164F #5D247F #8031AF #9F4FCE #B97FDB

Accessibility & contrast

On white

7.06
#8031AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8031AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8031AF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8031AF#FFFFFF#000000##FFFFFF
##8031AF1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#165AAC
Tritanopia (blue-blind)
#794D6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8031af;
/* rgb */ color: rgb(128, 49, 175);
/* oklch */ color: oklch(48.7% 0.193 309.7);
Tailwind
colors: {
  custom: {
    50: '#a970c8',
    500: '#8031af',
    950: '#000000',
  },
}
SCSS
$custom: #8031af;
$custom-light: #a970c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8031af",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 277.619,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48654,
    "c": 0.1934,
    "h": 309.7
  },
  "luminance": 0.09881
}

Semantic roles & 50–950 ramp

primary
#8031AF
secondary
#94C478
accent
#E04881
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8031AF

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

Preview Lab → · Contrast checker → · Palette generator →

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