#8039BA#8039BA

#8039BA is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.195 H 305.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8039BA
RGBrgb(128, 57, 186)
HSLhsl(273, 53%, 48%)
HSVhsv(273, 69%, 73%)
CMYKcmyk(31.2%, 69.4%, 0%, 27.1%)
CIE-LABlab(39.68, 53.50, -55.75)
CIE-LCHlch(39.68, 77.27, 313.82°)
OKLaboklab(50.36% 0.1136 -0.1583)
OKLCHoklch(50.36% 0.195 305.7)
XYZxyz(19.2262, 11.0608, 47.5669)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039BA #73BA39
analogous
#3F39BA #8039BA #BA39B3
triadic
#8039BA #BA8039 #39BA80
tetradic
#8039BA #BA3F39 #73BA39 #39B3BA
square
#8039BA #BA3F39 #73BA39 #39B3BA
split-complementary
#8039BA #B3BA39 #39BA3F
monochromatic
#401C5C #602B8B #8039BA #9E61CF #BB90DD

Accessibility & contrast

On white

6.54
#8039BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8039BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039BA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039BA#FFFFFF#000000##FFFFFF
##8039BA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#085EB7
Tritanopia (blue-blind)
#765675
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8039ba;
/* rgb */ color: rgb(128, 57, 186);
/* oklch */ color: oklch(50.4% 0.195 305.7);
Tailwind
colors: {
  custom: {
    50: '#aa75d0',
    500: '#8039ba',
    950: '#000000',
  },
}
SCSS
$custom: #8039ba;
$custom-light: #aa75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8039ba",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 273.023,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50364,
    "c": 0.1948,
    "h": 305.7
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#8039BA
secondary
#A4C887
accent
#DC4B8D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8039BA

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

Preview Lab → · Contrast checker → · Palette generator →

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