#8039A4#8039A4

#8039A4 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.8% C 0.172 H 312.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8039A4
RGBrgb(128, 57, 164)
HSLhsl(280, 48%, 43%)
HSVhsv(280, 65%, 64%)
CMYKcmyk(22%, 65.2%, 0%, 35.7%)
CIE-LABlab(38.19, 48.48, -45.10)
CIE-LCHlch(38.19, 66.21, 317.07°)
OKLaboklab(48.82% 0.1156 -0.127)
OKLCHoklch(48.82% 0.172 312.3)
XYZxyz(17.0649, 10.1962, 36.1839)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039A4 #5DA439
analogous
#4A39A4 #8039A4 #A43992
triadic
#8039A4 #A48039 #39A480
tetradic
#8039A4 #A44A39 #5DA439 #3992A4
square
#8039A4 #A44A39 #5DA439 #3992A4
split-complementary
#8039A4 #92A439 #39A44A
monochromatic
#391949 #5D2977 #8039A4 #9F56C4 #B983D4

Accessibility & contrast

On white

6.91
#8039A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8039A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039A4
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039A4#FFFFFF#000000##FFFFFF
##8039A41.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#305BA2
Tritanopia (blue-blind)
#7C4E69
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8039a4;
/* rgb */ color: rgb(128, 57, 164);
/* oklch */ color: oklch(48.8% 0.172 312.3);
Tailwind
colors: {
  custom: {
    50: '#a874bf',
    500: '#8039a4',
    950: '#000000',
  },
}
SCSS
$custom: #8039a4;
$custom-light: #a874bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8039a4",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 164
  },
  "hsl": {
    "h": 279.813,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48821,
    "c": 0.17172,
    "h": 312.3
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8039A4

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

Preview Lab → · Contrast checker → · Palette generator →

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