#8037BA#8037BA

#8037BA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.1% C 0.197 H 305.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8037BA
RGBrgb(128, 55, 186)
HSLhsl(273, 54%, 47%)
HSVhsv(273, 70%, 73%)
CMYKcmyk(31.2%, 70.4%, 0%, 27.1%)
CIE-LABlab(39.36, 54.41, -56.28)
CIE-LCHlch(39.36, 78.28, 314.03°)
OKLaboklab(50.13% 0.1157 -0.1598)
OKLCHoklch(50.13% 0.197 305.9)
XYZxyz(19.1293, 10.8669, 47.5346)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8037BA #71BA37
analogous
#3E37BA #8037BA #BA37B3
triadic
#8037BA #BA8037 #37BA80
tetradic
#8037BA #BA3E37 #71BA37 #37B3BA
square
#8037BA #BA3E37 #71BA37 #37B3BA
split-complementary
#8037BA #B3BA37 #37BA3E
monochromatic
#3F1B5C #5F298B #8037BA #9E5FD0 #BA8EDE

Accessibility & contrast

On white

6.62
#8037BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8037BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8037BA
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8037BA#FFFFFF#000000##FFFFFF
##8037BA1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#015DB7
Tritanopia (blue-blind)
#765575
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8037ba;
/* rgb */ color: rgb(128, 55, 186);
/* oklch */ color: oklch(50.1% 0.197 305.9);
Tailwind
colors: {
  custom: {
    50: '#aa74d0',
    500: '#8037ba',
    950: '#000000',
  },
}
SCSS
$custom: #8037ba;
$custom-light: #aa74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8037ba",
  "rgb": {
    "r": 128,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 273.435,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50131,
    "c": 0.19728,
    "h": 305.9
  },
  "luminance": 0.10867
}

Semantic roles & 50–950 ramp

primary
#8037BA
secondary
#A3C885
accent
#DE4A8B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8037BA

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

Preview Lab → · Contrast checker → · Palette generator →

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