#8039C5#8039C5

#8039C5 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.2% C 0.206 H 302.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8039C5
RGBrgb(128, 57, 197)
HSLhsl(270, 55%, 50%)
HSVhsv(270, 71%, 77%)
CMYKcmyk(35%, 71.1%, 0%, 22.7%)
CIE-LABlab(40.49, 56.09, -60.88)
CIE-LCHlch(40.49, 82.78, 312.65°)
OKLaboklab(51.19% 0.1119 -0.1734)
OKLCHoklch(51.19% 0.206 302.8)
XYZxyz(20.4409, 11.5466, 53.9643)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039C5 #7EC539
analogous
#3A39C5 #8039C5 #C539C4
triadic
#8039C5 #C58039 #39C580
tetradic
#8039C5 #C53A39 #7EC539 #39C4C5
square
#8039C5 #C53A39 #7EC539 #39C4C5
split-complementary
#8039C5 #C4C539 #39C53A
monochromatic
#421E66 #612B96 #8039C5 #9E68D3 #BD97E1

Accessibility & contrast

On white

6.35
#8039C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8039C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039C5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039C5#FFFFFF#000000##FFFFFF
##8039C51.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#725B7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8039c5;
/* rgb */ color: rgb(128, 57, 197);
/* oklch */ color: oklch(51.2% 0.206 302.8);
Tailwind
colors: {
  custom: {
    50: '#aa75d7',
    500: '#8039c5',
    950: '#000000',
  },
}
SCSS
$custom: #8039c5;
$custom-light: #aa75d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8039c5",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 270.429,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5119,
    "c": 0.20632,
    "h": 302.8
  },
  "luminance": 0.11547
}

Semantic roles & 50–950 ramp

primary
#8039C5
secondary
#ACCD8D
accent
#DE4993
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8039C5

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

Preview Lab → · Contrast checker → · Palette generator →

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