#8039B1#8039B1

#8039B1 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.185 H 308.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8039B1
RGBrgb(128, 57, 177)
HSLhsl(276, 51%, 46%)
HSVhsv(276, 68%, 69%)
CMYKcmyk(27.7%, 67.8%, 0%, 30.6%)
CIE-LABlab(39.05, 51.42, -51.46)
CIE-LCHlch(39.05, 72.74, 314.98°)
OKLaboklab(49.72% 0.1146 -0.1457)
OKLCHoklch(49.72% 0.185 308.2)
XYZxyz(18.2994, 10.6901, 42.6858)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039B1 #6AB139
analogous
#4439B1 #8039B1 #B139A6
triadic
#8039B1 #B18039 #39B180
tetradic
#8039B1 #B14439 #6AB139 #39A6B1
square
#8039B1 #B14439 #6AB139 #39A6B1
split-complementary
#8039B1 #A6B139 #39B144
monochromatic
#3D1B54 #5F2A83 #8039B1 #9E5DCB #B98BDA

Accessibility & contrast

On white

6.69
#8039B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8039B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039B1
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039B1#FFFFFF#000000##FFFFFF
##8039B11.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#205DAE
Tritanopia (blue-blind)
#785370
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8039b1;
/* rgb */ color: rgb(128, 57, 177);
/* oklch */ color: oklch(49.7% 0.185 308.2);
Tailwind
colors: {
  custom: {
    50: '#a975c9',
    500: '#8039b1',
    950: '#000000',
  },
}
SCSS
$custom: #8039b1;
$custom-light: #a975c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8039b1",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 275.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49715,
    "c": 0.18535,
    "h": 308.2
  },
  "luminance": 0.1069
}

Semantic roles & 50–950 ramp

primary
#8039B1
secondary
#9DC482
accent
#DB4D87
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8039B1

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

Preview Lab → · Contrast checker → · Palette generator →

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