#8039B9#8039B9

#8039B9 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.3% C 0.194 H 305.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8039B9
RGBrgb(128, 57, 185)
HSLhsl(273, 53%, 47%)
HSVhsv(273, 69%, 73%)
CMYKcmyk(30.8%, 69.2%, 0%, 27.5%)
CIE-LABlab(39.61, 53.26, -55.28)
CIE-LCHlch(39.61, 76.76, 313.94°)
OKLaboklab(50.29% 0.1137 -0.1569)
OKLCHoklch(50.29% 0.194 305.9)
XYZxyz(19.1203, 11.0184, 47.0090)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039B9 #72B939
analogous
#4039B9 #8039B9 #B939B2
triadic
#8039B9 #B98039 #39B980
tetradic
#8039B9 #B94039 #72B939 #39B2B9
square
#8039B9 #B94039 #72B939 #39B2B9
split-complementary
#8039B9 #B2B939 #39B940
monochromatic
#3F1C5B #602B8A #8039B9 #9E61CE #BA90DD

Accessibility & contrast

On white

6.56
#8039B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8039B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039B9
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039B9#FFFFFF#000000##FFFFFF
##8039B91.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#0D5EB6
Tritanopia (blue-blind)
#765675
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8039b9;
/* rgb */ color: rgb(128, 57, 185);
/* oklch */ color: oklch(50.3% 0.194 305.9);
Tailwind
colors: {
  custom: {
    50: '#a975cf',
    500: '#8039b9',
    950: '#000000',
  },
}
SCSS
$custom: #8039b9;
$custom-light: #a975cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8039b9",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 273.281,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50291,
    "c": 0.19375,
    "h": 305.9
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

primary
#8039B9
secondary
#A3C886
accent
#DC4B8C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8039B9

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

Preview Lab → · Contrast checker → · Palette generator →

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