#8039B5#8039B5

#8039B5 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.190 H 307.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8039B5
RGBrgb(128, 57, 181)
HSLhsl(274, 52%, 47%)
HSVhsv(274, 69%, 71%)
CMYKcmyk(29.3%, 68.5%, 0%, 29%)
CIE-LABlab(39.33, 52.34, -53.38)
CIE-LCHlch(39.33, 74.75, 314.44°)
OKLaboklab(50% 0.1142 -0.1513)
OKLCHoklch(50% 0.19 307)
XYZxyz(18.7039, 10.8519, 44.8164)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039B5 #6EB539
analogous
#4239B5 #8039B5 #B539AC
triadic
#8039B5 #B58039 #39B580
tetradic
#8039B5 #B54239 #6EB539 #39ACB5
square
#8039B5 #B54239 #6EB539 #39ACB5
split-complementary
#8039B5 #ACB539 #39B542
monochromatic
#3E1C58 #5F2A86 #8039B5 #9E5FCD #BA8DDB

Accessibility & contrast

On white

6.62
#8039B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8039B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039B5
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039B5#FFFFFF#000000##FFFFFF
##8039B51.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#185DB2
Tritanopia (blue-blind)
#775472
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8039b5;
/* rgb */ color: rgb(128, 57, 181);
/* oklch */ color: oklch(50.0% 0.190 307.0);
Tailwind
colors: {
  custom: {
    50: '#a975cc',
    500: '#8039b5',
    950: '#000000',
  },
}
SCSS
$custom: #8039b5;
$custom-light: #a975cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8039b5",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 274.355,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50001,
    "c": 0.18955,
    "h": 307
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8039B5

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

Preview Lab → · Contrast checker → · Palette generator →

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