#8036C2#8036C2

#8036C2 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.6% C 0.207 H 303.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8036C2
RGBrgb(128, 54, 194)
HSLhsl(272, 56%, 49%)
HSVhsv(272, 72%, 76%)
CMYKcmyk(34%, 72.2%, 0%, 23.9%)
CIE-LABlab(39.79, 56.72, -60.27)
CIE-LCHlch(39.79, 82.77, 313.26°)
OKLaboklab(50.62% 0.1153 -0.1715)
OKLCHoklch(50.62% 0.207 303.9)
XYZxyz(19.9566, 11.1226, 52.1240)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8036C2 #78C236
analogous
#3A36C2 #8036C2 #C236BE
triadic
#8036C2 #C28036 #36C280
tetradic
#8036C2 #C23A36 #78C236 #36BEC2
square
#8036C2 #C23A36 #78C236 #36BEC2
split-complementary
#8036C2 #BEC236 #36C23A
monochromatic
#411B62 #602992 #8036C2 #9E62D3 #BB92E1

Accessibility & contrast

On white

6.51
#8036C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8036C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8036C2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8036C2#FFFFFF#000000##FFFFFF
##8036C21.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#735879
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8036c2;
/* rgb */ color: rgb(128, 54, 194);
/* oklch */ color: oklch(50.6% 0.207 303.9);
Tailwind
colors: {
  custom: {
    50: '#aa74d5',
    500: '#8036c2',
    950: '#000000',
  },
}
SCSS
$custom: #8036c2;
$custom-light: #aa74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8036c2",
  "rgb": {
    "r": 128,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 271.714,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50622,
    "c": 0.20671,
    "h": 303.9
  },
  "luminance": 0.11123
}

Semantic roles & 50–950 ramp

primary
#8036C2
secondary
#A8CC88
accent
#E04890
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8036C2

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

Preview Lab → · Contrast checker → · Palette generator →

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