#8039BB#8039BB

#8039BB is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.4% C 0.196 H 305.4°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8039BB
RGBrgb(128, 57, 187)
HSLhsl(273, 53%, 48%)
HSVhsv(273, 70%, 73%)
CMYKcmyk(31.6%, 69.5%, 0%, 26.7%)
CIE-LABlab(39.75, 53.73, -56.22)
CIE-LCHlch(39.75, 77.77, 313.70°)
OKLaboklab(50.44% 0.1134 -0.1597)
OKLCHoklch(50.44% 0.196 305.4)
XYZxyz(19.3329, 11.1034, 48.1288)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039BB #74BB39
analogous
#3F39BB #8039BB #BB39B5
triadic
#8039BB #BB8039 #39BB80
tetradic
#8039BB #BB3F39 #74BB39 #39B5BB
square
#8039BB #BB3F39 #74BB39 #39B5BB
split-complementary
#8039BB #B5BB39 #39BB3F
monochromatic
#401C5D #602B8C #8039BB #9E62CF #BB91DD

Accessibility & contrast

On white

6.52
#8039BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8039BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039BB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039BB#FFFFFF#000000##FFFFFF
##8039BB1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#045EB8
Tritanopia (blue-blind)
#755776
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8039bb;
/* rgb */ color: rgb(128, 57, 187);
/* oklch */ color: oklch(50.4% 0.196 305.4);
Tailwind
colors: {
  custom: {
    50: '#aa75d0',
    500: '#8039bb',
    950: '#000000',
  },
}
SCSS
$custom: #8039bb;
$custom-light: #aa75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8039bb",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 272.769,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50438,
    "c": 0.19585,
    "h": 305.4
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#8039BB
secondary
#A5C887
accent
#DD4B8D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8039BB

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

Preview Lab → · Contrast checker → · Palette generator →

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