#8039C8#8039C8

#8039C8 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.209 H 302.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8039C8
RGBrgb(128, 57, 200)
HSLhsl(270, 57%, 50%)
HSVhsv(270, 72%, 78%)
CMYKcmyk(36%, 71.5%, 0%, 21.6%)
CIE-LABlab(40.71, 56.80, -62.26)
CIE-LCHlch(40.71, 84.28, 312.37°)
OKLaboklab(51.42% 0.1113 -0.1774)
OKLCHoklch(51.42% 0.209 302.1)
XYZxyz(20.7881, 11.6855, 55.7927)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039C8 #81C839
analogous
#3939C8 #8039C8 #C739C8
triadic
#8039C8 #C88039 #39C880
tetradic
#8039C8 #C83939 #81C839 #39C8C7
square
#8039C8 #C83939 #81C839 #39C8C7
split-complementary
#8039C8 #C8C739 #39C839
monochromatic
#431D69 #622B99 #8039C8 #9F69D5 #BD99E3

Accessibility & contrast

On white

6.29
#8039C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8039C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039C8
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039C8#FFFFFF#000000##FFFFFF
##8039C81.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#715C7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8039c8;
/* rgb */ color: rgb(128, 57, 200);
/* oklch */ color: oklch(51.4% 0.209 302.1);
Tailwind
colors: {
  custom: {
    50: '#ab75da',
    500: '#8039c8',
    950: '#000000',
  },
}
SCSS
$custom: #8039c8;
$custom-light: #ab75da;
$custom-dark: #000000;
JSON
{
  "hex": "#8039c8",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 269.79,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5142,
    "c": 0.20947,
    "h": 302.1
  },
  "luminance": 0.11686
}

Semantic roles & 50–950 ramp

primary
#8039C8
secondary
#AFCE8F
accent
#E04894
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8039C8

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

Preview Lab → · Contrast checker → · Palette generator →

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