#8039C6#8039C6

#8039C6 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.207 H 302.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8039C6
RGBrgb(128, 57, 198)
HSLhsl(270, 55%, 50%)
HSVhsv(270, 71%, 78%)
CMYKcmyk(35.4%, 71.2%, 0%, 22.4%)
CIE-LABlab(40.56, 56.33, -61.35)
CIE-LCHlch(40.56, 83.28, 312.56°)
OKLaboklab(51.27% 0.1117 -0.1747)
OKLCHoklch(51.27% 0.207 302.6)
XYZxyz(20.5558, 11.5926, 54.5698)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039C6 #7FC639
analogous
#3A39C6 #8039C6 #C639C5
triadic
#8039C6 #C68039 #39C680
tetradic
#8039C6 #C63A39 #7FC639 #39C5C6
square
#8039C6 #C63A39 #7FC639 #39C5C6
split-complementary
#8039C6 #C5C639 #39C63A
monochromatic
#431E67 #612B96 #8039C6 #9E69D4 #BD98E1

Accessibility & contrast

On white

6.33
#8039C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8039C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039C6
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039C6#FFFFFF#000000##FFFFFF
##8039C61.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#725B7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8039c6;
/* rgb */ color: rgb(128, 57, 198);
/* oklch */ color: oklch(51.3% 0.207 302.6);
Tailwind
colors: {
  custom: {
    50: '#aa75d8',
    500: '#8039c6',
    950: '#000000',
  },
}
SCSS
$custom: #8039c6;
$custom-light: #aa75d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8039c6",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 198
  },
  "hsl": {
    "h": 270.213,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.51266,
    "c": 0.20738,
    "h": 302.6
  },
  "luminance": 0.11593
}

Semantic roles & 50–950 ramp

primary
#8039C6
secondary
#ADCD8E
accent
#DF4993
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8039C6

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

Preview Lab → · Contrast checker → · Palette generator →

#8039C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva