#8037C4#8037C4

#8037C4 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.9% C 0.208 H 303.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8037C4
RGBrgb(128, 55, 196)
HSLhsl(271, 56%, 49%)
HSVhsv(271, 72%, 77%)
CMYKcmyk(34.7%, 71.9%, 0%, 23.1%)
CIE-LABlab(40.09, 56.75, -60.94)
CIE-LCHlch(40.09, 83.27, 312.96°)
OKLaboklab(50.89% 0.114 -0.1735)
OKLCHoklch(50.89% 0.208 303.3)
XYZxyz(20.2298, 11.3071, 53.3306)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8037C4 #7BC437
analogous
#3A37C4 #8037C4 #C437C2
triadic
#8037C4 #C48037 #37C480
tetradic
#8037C4 #C43A37 #7BC437 #37C2C4
square
#8037C4 #C43A37 #7BC437 #37C2C4
split-complementary
#8037C4 #C2C437 #37C43A
monochromatic
#421C64 #612A94 #8037C4 #9E65D4 #BC94E1

Accessibility & contrast

On white

6.44
#8037C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8037C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8037C4
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8037C4#FFFFFF#000000##FFFFFF
##8037C41.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#72597A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8037c4;
/* rgb */ color: rgb(128, 55, 196);
/* oklch */ color: oklch(50.9% 0.208 303.3);
Tailwind
colors: {
  custom: {
    50: '#aa74d7',
    500: '#8037c4',
    950: '#000000',
  },
}
SCSS
$custom: #8037c4;
$custom-light: #aa74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8037c4",
  "rgb": {
    "r": 128,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 271.064,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50887,
    "c": 0.20763,
    "h": 303.3
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#8037C4
secondary
#AACC8B
accent
#DF4891
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8037C4

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

Preview Lab → · Contrast checker → · Palette generator →

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