#8039B7#8039B7

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

Color values

HEX#8039B7
RGBrgb(128, 57, 183)
HSLhsl(274, 53%, 47%)
HSVhsv(274, 69%, 72%)
CMYKcmyk(30.1%, 68.9%, 0%, 28.2%)
CIE-LABlab(39.47, 52.80, -54.33)
CIE-LCHlch(39.47, 75.76, 314.18°)
OKLaboklab(50.15% 0.114 -0.1541)
OKLCHoklch(50.15% 0.192 306.5)
XYZxyz(18.9106, 10.9345, 45.9049)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039B7 #70B739
analogous
#4139B7 #8039B7 #B739AF
triadic
#8039B7 #B78039 #39B780
tetradic
#8039B7 #B74139 #70B739 #39AFB7
square
#8039B7 #B74139 #70B739 #39AFB7
split-complementary
#8039B7 #AFB739 #39B741
monochromatic
#3F1C5A #5F2A88 #8039B7 #9E60CD #BA8EDC

Accessibility & contrast

On white

6.59
#8039B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8039B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039B7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039B7#FFFFFF#000000##FFFFFF
##8039B71.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#135DB4
Tritanopia (blue-blind)
#775574
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8039b7;
/* rgb */ color: rgb(128, 57, 183);
/* oklch */ color: oklch(50.1% 0.192 306.5);
Tailwind
colors: {
  custom: {
    50: '#a975cd',
    500: '#8039b7',
    950: '#000000',
  },
}
SCSS
$custom: #8039b7;
$custom-light: #a975cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8039b7",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 273.81,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50145,
    "c": 0.19165,
    "h": 306.5
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

primary
#8039B7
secondary
#A2C785
accent
#DC4C8B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #8039B7

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

Preview Lab → · Contrast checker → · Palette generator →

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