#8039A5#8039A5

#8039A5 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.9% C 0.173 H 312.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8039A5
RGBrgb(128, 57, 165)
HSLhsl(279, 49%, 44%)
HSVhsv(279, 65%, 65%)
CMYKcmyk(22.4%, 65.5%, 0%, 35.3%)
CIE-LABlab(38.26, 48.70, -45.59)
CIE-LCHlch(38.26, 66.71, 316.89°)
OKLaboklab(48.89% 0.1155 -0.1284)
OKLCHoklch(48.89% 0.173 312)
XYZxyz(17.1555, 10.2325, 36.6614)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039A5 #5EA539
analogous
#4A39A5 #8039A5 #A53994
triadic
#8039A5 #A58039 #39A580
tetradic
#8039A5 #A54A39 #5EA539 #3994A5
square
#8039A5 #A54A39 #5EA539 #3994A5
split-complementary
#8039A5 #94A539 #39A54A
monochromatic
#391A4A #5D2978 #8039A5 #9F56C5 #B984D4

Accessibility & contrast

On white

6.89
#8039A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8039A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039A5
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039A5#FFFFFF#000000##FFFFFF
##8039A51.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#2F5BA2
Tritanopia (blue-blind)
#7C4E6A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8039a5;
/* rgb */ color: rgb(128, 57, 165);
/* oklch */ color: oklch(48.9% 0.173 312.0);
Tailwind
colors: {
  custom: {
    50: '#a874c0',
    500: '#8039a5',
    950: '#000000',
  },
}
SCSS
$custom: #8039a5;
$custom-light: #a874c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8039a5",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 279.444,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48888,
    "c": 0.17276,
    "h": 312
  },
  "luminance": 0.10232
}

Semantic roles & 50–950 ramp

primary
#8039A5
secondary
#92BE7B
accent
#D8507E
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8039A5

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

Preview Lab → · Contrast checker → · Palette generator →

#8039A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva