#8039AE#8039AE

#8039AE is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.182 H 309.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8039AE
RGBrgb(128, 57, 174)
HSLhsl(276, 51%, 45%)
HSVhsv(276, 67%, 68%)
CMYKcmyk(26.4%, 67.2%, 0%, 31.8%)
CIE-LABlab(38.85, 50.73, -50.01)
CIE-LCHlch(38.85, 71.23, 315.41°)
OKLaboklab(49.5% 0.1149 -0.1414)
OKLCHoklch(49.5% 0.182 309.1)
XYZxyz(18.0037, 10.5718, 41.1283)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039AE #67AE39
analogous
#4539AE #8039AE #AE39A1
triadic
#8039AE #AE8039 #39AE80
tetradic
#8039AE #AE4539 #67AE39 #39A1AE
square
#8039AE #AE4539 #67AE39 #39A1AE
split-complementary
#8039AE #A1AE39 #39AE45
monochromatic
#3C1B52 #5E2A80 #8039AE #9E5BC9 #B989D8

Accessibility & contrast

On white

6.74
#8039AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8039AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039AE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039AE#FFFFFF#000000##FFFFFF
##8039AE1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#245CAB
Tritanopia (blue-blind)
#79526F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8039ae;
/* rgb */ color: rgb(128, 57, 174);
/* oklch */ color: oklch(49.5% 0.182 309.1);
Tailwind
colors: {
  custom: {
    50: '#a975c7',
    500: '#8039ae',
    950: '#000000',
  },
}
SCSS
$custom: #8039ae;
$custom-light: #a975c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8039ae",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 276.41,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49504,
    "c": 0.1822,
    "h": 309.1
  },
  "luminance": 0.10571
}

Semantic roles & 50–950 ramp

primary
#8039AE
secondary
#9AC380
accent
#DA4E85
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8039AE

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

Preview Lab → · Contrast checker → · Palette generator →

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