#8039BD#8039BD

#8039BD is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.6% C 0.198 H 304.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8039BD
RGBrgb(128, 57, 189)
HSLhsl(272, 54%, 48%)
HSVhsv(272, 70%, 74%)
CMYKcmyk(32.3%, 69.8%, 0%, 25.9%)
CIE-LABlab(39.90, 54.20, -57.16)
CIE-LCHlch(39.90, 78.77, 313.48°)
OKLaboklab(50.59% 0.1131 -0.1624)
OKLCHoklch(50.59% 0.198 304.9)
XYZxyz(19.5485, 11.1897, 49.2642)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039BD #76BD39
analogous
#3E39BD #8039BD #BD39B8
triadic
#8039BD #BD8039 #39BD80
tetradic
#8039BD #BD3E39 #76BD39 #39B8BD
square
#8039BD #BD3E39 #76BD39 #39B8BD
split-complementary
#8039BD #B8BD39 #39BD3E
monochromatic
#401D5F #602B8E #8039BD #9E63D0 #BB92DE

Accessibility & contrast

On white

6.49
#8039BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8039BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039BD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039BD#FFFFFF#000000##FFFFFF
##8039BD1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#755777
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8039bd;
/* rgb */ color: rgb(128, 57, 189);
/* oklch */ color: oklch(50.6% 0.198 304.9);
Tailwind
colors: {
  custom: {
    50: '#aa75d2',
    500: '#8039bd',
    950: '#000000',
  },
}
SCSS
$custom: #8039bd;
$custom-light: #aa75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8039bd",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 272.273,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50586,
    "c": 0.19795,
    "h": 304.9
  },
  "luminance": 0.1119
}

Semantic roles & 50–950 ramp

primary
#8039BD
secondary
#A6C989
accent
#DD4B8E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8039BD

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

Preview Lab → · Contrast checker → · Palette generator →

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