#8039CA#8039CA

#8039CA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.212 H 301.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8039CA
RGBrgb(128, 57, 202)
HSLhsl(269, 58%, 51%)
HSVhsv(269, 72%, 79%)
CMYKcmyk(36.6%, 71.8%, 0%, 20.8%)
CIE-LABlab(40.86, 57.28, -63.18)
CIE-LCHlch(40.86, 85.28, 312.20°)
OKLaboklab(51.58% 0.111 -0.1801)
OKLCHoklch(51.58% 0.212 301.6)
XYZxyz(21.0233, 11.7796, 57.0318)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039CA #83CA39
analogous
#393ACA #8039CA #C839CA
triadic
#8039CA #CA8039 #39CA80
tetradic
#8039CA #CA393A #83CA39 #39CAC8
square
#8039CA #CA393A #83CA39 #39CAC8
split-complementary
#8039CA #CAC839 #3ACA39
monochromatic
#431D6C #622A9C #8039CA #9F69D7 #BE9AE4

Accessibility & contrast

On white

6.26
#8039CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8039CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039CA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039CA#FFFFFF#000000##FFFFFF
##8039CA1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#705D7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8039ca;
/* rgb */ color: rgb(128, 57, 202);
/* oklch */ color: oklch(51.6% 0.212 301.6);
Tailwind
colors: {
  custom: {
    50: '#ab76db',
    500: '#8039ca',
    950: '#000000',
  },
}
SCSS
$custom: #8039ca;
$custom-light: #ab76db;
$custom-dark: #000000;
JSON
{
  "hex": "#8039ca",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 269.379,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51576,
    "c": 0.21155,
    "h": 301.6
  },
  "luminance": 0.1178
}

Semantic roles & 50–950 ramp

primary
#8039CA
secondary
#B0D08F
accent
#E14795
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8039CA

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

Preview Lab → · Contrast checker → · Palette generator →

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