#8039C3#8039C3

#8039C3 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.204 H 303.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8039C3
RGBrgb(128, 57, 195)
HSLhsl(271, 55%, 49%)
HSVhsv(271, 71%, 76%)
CMYKcmyk(34.4%, 70.8%, 0%, 23.5%)
CIE-LABlab(40.34, 55.61, -59.96)
CIE-LCHlch(40.34, 81.78, 312.85°)
OKLaboklab(51.04% 0.1122 -0.1706)
OKLCHoklch(51.04% 0.204 303.3)
XYZxyz(20.2132, 11.4556, 52.7654)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039C3 #7CC339
analogous
#3B39C3 #8039C3 #C339C1
triadic
#8039C3 #C38039 #39C380
tetradic
#8039C3 #C33B39 #7CC339 #39C1C3
square
#8039C3 #C33B39 #7CC339 #39C1C3
split-complementary
#8039C3 #C1C339 #39C33B
monochromatic
#421D64 #612B94 #8039C3 #9E67D2 #BC96E0

Accessibility & contrast

On white

6.38
#8039C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8039C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039C3
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039C3#FFFFFF#000000##FFFFFF
##8039C31.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#735A7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8039c3;
/* rgb */ color: rgb(128, 57, 195);
/* oklch */ color: oklch(51.0% 0.204 303.3);
Tailwind
colors: {
  custom: {
    50: '#aa75d6',
    500: '#8039c3',
    950: '#000000',
  },
}
SCSS
$custom: #8039c3;
$custom-light: #aa75d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8039c3",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 270.87,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51037,
    "c": 0.20423,
    "h": 303.3
  },
  "luminance": 0.11456
}

Semantic roles & 50–950 ramp

primary
#8039C3
secondary
#ABCC8C
accent
#DE4A92
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8039C3

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

Preview Lab → · Contrast checker → · Palette generator →

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