#8036C5#8036C5

#8036C5 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.9% C 0.210 H 303.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8036C5
RGBrgb(128, 54, 197)
HSLhsl(271, 57%, 49%)
HSVhsv(271, 73%, 77%)
CMYKcmyk(35%, 72.6%, 0%, 22.7%)
CIE-LABlab(40.01, 57.42, -61.65)
CIE-LCHlch(40.01, 84.25, 312.97°)
OKLaboklab(50.85% 0.1148 -0.1756)
OKLCHoklch(50.85% 0.21 303.2)
XYZxyz(20.2969, 11.2587, 53.9164)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8036C5 #7BC536
analogous
#3936C5 #8036C5 #C536C3
triadic
#8036C5 #C58036 #36C580
tetradic
#8036C5 #C53936 #7BC536 #36C3C5
square
#8036C5 #C53936 #7BC536 #36C3C5
split-complementary
#8036C5 #C3C536 #36C539
monochromatic
#421C65 #612995 #8036C5 #9E64D4 #BC94E2

Accessibility & contrast

On white

6.46
#8036C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8036C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8036C5
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8036C5#FFFFFF#000000##FFFFFF
##8036C51.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8036c5;
/* rgb */ color: rgb(128, 54, 197);
/* oklch */ color: oklch(50.9% 0.210 303.2);
Tailwind
colors: {
  custom: {
    50: '#ab74d7',
    500: '#8036c5',
    950: '#000000',
  },
}
SCSS
$custom: #8036c5;
$custom-light: #ab74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8036c5",
  "rgb": {
    "r": 128,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 271.049,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50854,
    "c": 0.2098,
    "h": 303.2
  },
  "luminance": 0.11259
}

Semantic roles & 50–950 ramp

primary
#8036C5
secondary
#AACD8A
accent
#E04891
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8036C5

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

Preview Lab → · Contrast checker → · Palette generator →

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