#8037BC#8037BC

#8037BC is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.3% C 0.199 H 305.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8037BC
RGBrgb(128, 55, 188)
HSLhsl(273, 55%, 48%)
HSVhsv(273, 71%, 74%)
CMYKcmyk(31.9%, 70.7%, 0%, 26.3%)
CIE-LABlab(39.50, 54.88, -57.22)
CIE-LCHlch(39.50, 79.28, 313.80°)
OKLaboklab(50.28% 0.1154 -0.1626)
OKLCHoklch(50.28% 0.199 305.4)
XYZxyz(19.3434, 10.9525, 48.6622)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8037BC #73BC37
analogous
#3D37BC #8037BC #BC37B6
triadic
#8037BC #BC8037 #37BC80
tetradic
#8037BC #BC3D37 #73BC37 #37B6BC
square
#8037BC #BC3D37 #73BC37 #37B6BC
split-complementary
#8037BC #B6BC37 #37BC3D
monochromatic
#401B5D #60298D #8037BC #9E60D0 #BB8FDE

Accessibility & contrast

On white

6.58
#8037BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8037BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8037BC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8037BC#FFFFFF#000000##FFFFFF
##8037BC1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#755676
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8037bc;
/* rgb */ color: rgb(128, 55, 188);
/* oklch */ color: oklch(50.3% 0.199 305.4);
Tailwind
colors: {
  custom: {
    50: '#aa74d1',
    500: '#8037bc',
    950: '#000000',
  },
}
SCSS
$custom: #8037bc;
$custom-light: #aa74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8037bc",
  "rgb": {
    "r": 128,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 272.932,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.19935,
    "h": 305.4
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#8037BC
secondary
#A4C986
accent
#DE4A8D
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8037BC

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

Preview Lab → · Contrast checker → · Palette generator →

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