#8039AD#8039AD

#8039AD is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.4% C 0.181 H 309.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8039AD
RGBrgb(128, 57, 173)
HSLhsl(277, 50%, 45%)
HSVhsv(277, 67%, 68%)
CMYKcmyk(26%, 67.1%, 0%, 32.2%)
CIE-LABlab(38.78, 50.50, -49.52)
CIE-LCHlch(38.78, 70.73, 315.56°)
OKLaboklab(49.43% 0.115 -0.14)
OKLCHoklch(49.43% 0.181 309.4)
XYZxyz(17.9065, 10.5329, 40.6168)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039AD #66AD39
analogous
#4639AD #8039AD #AD39A0
triadic
#8039AD #AD8039 #39AD80
tetradic
#8039AD #AD4639 #66AD39 #39A0AD
square
#8039AD #AD4639 #66AD39 #39A0AD
split-complementary
#8039AD #A0AD39 #39AD46
monochromatic
#3C1B51 #5E2A7F #8039AD #9E5AC9 #B988D8

Accessibility & contrast

On white

6.76
#8039AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8039AD
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039AD#FFFFFF#000000##FFFFFF
##8039AD1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#265CAA
Tritanopia (blue-blind)
#7A516E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8039ad;
/* rgb */ color: rgb(128, 57, 173);
/* oklch */ color: oklch(49.4% 0.181 309.4);
Tailwind
colors: {
  custom: {
    50: '#a974c6',
    500: '#8039ad',
    950: '#000000',
  },
}
SCSS
$custom: #8039ad;
$custom-light: #a974c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8039ad",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 173
  },
  "hsl": {
    "h": 276.724,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49434,
    "c": 0.18115,
    "h": 309.4
  },
  "luminance": 0.10533
}

Semantic roles & 50–950 ramp

primary
#8039AD
secondary
#99C280
accent
#DA4E84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8039AD

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

Preview Lab → · Contrast checker → · Palette generator →

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