#8039CC#8039CC

#8039CC is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.214 H 301.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8039CC
RGBrgb(128, 57, 204)
HSLhsl(269, 59%, 51%)
HSVhsv(269, 72%, 80%)
CMYKcmyk(37.3%, 72.1%, 0%, 20%)
CIE-LABlab(41.02, 57.76, -64.09)
CIE-LCHlch(41.02, 86.28, 312.03°)
OKLaboklab(51.73% 0.1106 -0.1828)
OKLCHoklch(51.73% 0.214 301.2)
XYZxyz(21.2616, 11.8750, 58.2870)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039CC #85CC39
analogous
#393BCC #8039CC #CA39CC
triadic
#8039CC #CC8039 #39CC80
tetradic
#8039CC #CC393B #85CC39 #39CCCA
square
#8039CC #CC393B #85CC39 #39CCCA
split-complementary
#8039CC #CCCA39 #3BCC39
monochromatic
#441C6E #62299F #8039CC #9F6AD9 #BE9AE5

Accessibility & contrast

On white

6.22
#8039CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8039CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039CC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039CC#FFFFFF#000000##FFFFFF
##8039CC1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#6F5D7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8039cc;
/* rgb */ color: rgb(128, 57, 204);
/* oklch */ color: oklch(51.7% 0.214 301.2);
Tailwind
colors: {
  custom: {
    50: '#ab76dd',
    500: '#8039cc',
    950: '#000000',
  },
}
SCSS
$custom: #8039cc;
$custom-light: #ab76dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8039cc",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 268.98,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51732,
    "c": 0.21364,
    "h": 301.2
  },
  "luminance": 0.11875
}

Semantic roles & 50–950 ramp

primary
#8039CC
secondary
#B2D190
accent
#E24697
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8039CC

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

Preview Lab → · Contrast checker → · Palette generator →

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