#8039BC#8039BC

#8039BC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.5% C 0.197 H 305.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8039BC
RGBrgb(128, 57, 188)
HSLhsl(273, 53%, 48%)
HSVhsv(273, 70%, 74%)
CMYKcmyk(31.9%, 69.7%, 0%, 26.3%)
CIE-LABlab(39.83, 53.97, -56.69)
CIE-LCHlch(39.83, 78.27, 313.59°)
OKLaboklab(50.51% 0.1133 -0.161)
OKLCHoklch(50.51% 0.197 305.1)
XYZxyz(19.4403, 11.1464, 48.6945)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039BC #75BC39
analogous
#3E39BC #8039BC #BC39B6
triadic
#8039BC #BC8039 #39BC80
tetradic
#8039BC #BC3E39 #75BC39 #39B6BC
square
#8039BC #BC3E39 #75BC39 #39B6BC
split-complementary
#8039BC #B6BC39 #39BC3E
monochromatic
#401D5E #602B8D #8039BC #9E63D0 #BB92DE

Accessibility & contrast

On white

6.50
#8039BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8039BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039BC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039BC#FFFFFF#000000##FFFFFF
##8039BC1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#755776
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8039bc;
/* rgb */ color: rgb(128, 57, 188);
/* oklch */ color: oklch(50.5% 0.197 305.1);
Tailwind
colors: {
  custom: {
    50: '#aa75d1',
    500: '#8039bc',
    950: '#000000',
  },
}
SCSS
$custom: #8039bc;
$custom-light: #aa75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8039bc",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 272.519,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50512,
    "c": 0.1969,
    "h": 305.1
  },
  "luminance": 0.11146
}

Semantic roles & 50–950 ramp

primary
#8039BC
secondary
#A6C988
accent
#DD4B8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8039BC

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

Preview Lab → · Contrast checker → · Palette generator →

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