#8037AC#8037AC

#8037AC is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.1% C 0.183 H 309.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8037AC
RGBrgb(128, 55, 172)
HSLhsl(277, 52%, 45%)
HSVhsv(277, 68%, 67%)
CMYKcmyk(25.6%, 68%, 0%, 32.5%)
CIE-LABlab(38.38, 51.22, -49.58)
CIE-LCHlch(38.38, 71.28, 315.93°)
OKLaboklab(49.12% 0.1174 -0.1401)
OKLCHoklch(49.12% 0.183 309.9)
XYZxyz(17.7132, 10.3005, 40.0768)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8037AC #63AC37
analogous
#4637AC #8037AC #AC379E
triadic
#8037AC #AC8037 #37AC80
tetradic
#8037AC #AC4637 #63AC37 #379EAC
square
#8037AC #AC4637 #63AC37 #379EAC
split-complementary
#8037AC #9EAC37 #37AC46
monochromatic
#3B194F #5D287E #8037AC #9E57C9 #B985D8

Accessibility & contrast

On white

6.86
#8037AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8037AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8037AC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8037AC#FFFFFF#000000##FFFFFF
##8037AC1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#255BA9
Tritanopia (blue-blind)
#7A506D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8037ac;
/* rgb */ color: rgb(128, 55, 172);
/* oklch */ color: oklch(49.1% 0.183 309.9);
Tailwind
colors: {
  custom: {
    50: '#a973c5',
    500: '#8037ac',
    950: '#000000',
  },
}
SCSS
$custom: #8037ac;
$custom-light: #a973c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8037ac",
  "rgb": {
    "r": 128,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 277.436,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49121,
    "c": 0.18278,
    "h": 309.9
  },
  "luminance": 0.103
}

Semantic roles & 50–950 ramp

primary
#8037AC
secondary
#97C27D
accent
#DB4D82
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8037AC

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

Preview Lab → · Contrast checker → · Palette generator →

#8037AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva