#8039B6#8039B6

#8039B6 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.1% C 0.191 H 306.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8039B6
RGBrgb(128, 57, 182)
HSLhsl(274, 52%, 47%)
HSVhsv(274, 69%, 71%)
CMYKcmyk(29.7%, 68.7%, 0%, 28.6%)
CIE-LABlab(39.40, 52.57, -53.85)
CIE-LCHlch(39.40, 75.26, 314.31°)
OKLaboklab(50.07% 0.1141 -0.1527)
OKLCHoklch(50.07% 0.191 306.8)
XYZxyz(18.8069, 10.8931, 45.3587)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039B6 #6FB639
analogous
#4239B6 #8039B6 #B639AE
triadic
#8039B6 #B68039 #39B680
tetradic
#8039B6 #B64239 #6FB639 #39AEB6
square
#8039B6 #B64239 #6FB639 #39AEB6
split-complementary
#8039B6 #AEB639 #39B642
monochromatic
#3E1C59 #5F2A87 #8039B6 #9E5FCD #BA8EDC

Accessibility & contrast

On white

6.61
#8039B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8039B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039B6
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039B6#FFFFFF#000000##FFFFFF
##8039B61.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#165DB3
Tritanopia (blue-blind)
#775573
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8039b6;
/* rgb */ color: rgb(128, 57, 182);
/* oklch */ color: oklch(50.1% 0.191 306.8);
Tailwind
colors: {
  custom: {
    50: '#a975cd',
    500: '#8039b6',
    950: '#000000',
  },
}
SCSS
$custom: #8039b6;
$custom-light: #a975cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8039b6",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 274.08,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50073,
    "c": 0.1906,
    "h": 306.8
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#8039B6
secondary
#A1C685
accent
#DC4C8A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8039B6

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

Preview Lab → · Contrast checker → · Palette generator →

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