#8036C4#8036C4

#8036C4 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.8% C 0.209 H 303.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8036C4
RGBrgb(128, 54, 196)
HSLhsl(271, 57%, 49%)
HSVhsv(271, 72%, 77%)
CMYKcmyk(34.7%, 72.4%, 0%, 23.1%)
CIE-LABlab(39.94, 57.19, -61.19)
CIE-LCHlch(39.94, 83.76, 313.06°)
OKLaboklab(50.78% 0.115 -0.1743)
OKLCHoklch(50.78% 0.209 303.4)
XYZxyz(20.1827, 11.2131, 53.3149)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8036C4 #7AC436
analogous
#3936C4 #8036C4 #C436C1
triadic
#8036C4 #C48036 #36C480
tetradic
#8036C4 #C43936 #7AC436 #36C1C4
square
#8036C4 #C43936 #7AC436 #36C1C4
split-complementary
#8036C4 #C1C436 #36C439
monochromatic
#411C64 #612994 #8036C4 #9E63D4 #BC93E1

Accessibility & contrast

On white

6.48
#8036C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8036C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8036C4
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8036C4#FFFFFF#000000##FFFFFF
##8036C41.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.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: #8036c4;
/* rgb */ color: rgb(128, 54, 196);
/* oklch */ color: oklch(50.8% 0.209 303.4);
Tailwind
colors: {
  custom: {
    50: '#aa74d7',
    500: '#8036c4',
    950: '#000000',
  },
}
SCSS
$custom: #8036c4;
$custom-light: #aa74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8036c4",
  "rgb": {
    "r": 128,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 271.268,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50777,
    "c": 0.20876,
    "h": 303.4
  },
  "luminance": 0.11213
}

Semantic roles & 50–950 ramp

primary
#8036C4
secondary
#A9CC89
accent
#E04891
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8036C4

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

Preview Lab → · Contrast checker → · Palette generator →

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