#8039BF#8039BF

#8039BF is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.200 H 304.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8039BF
RGBrgb(128, 57, 191)
HSLhsl(272, 54%, 49%)
HSVhsv(272, 70%, 75%)
CMYKcmyk(33%, 70.2%, 0%, 25.1%)
CIE-LABlab(40.04, 54.67, -58.10)
CIE-LCHlch(40.04, 79.78, 313.26°)
OKLaboklab(50.74% 0.1128 -0.1652)
OKLCHoklch(50.74% 0.2 304.3)
XYZxyz(19.7670, 11.2771, 50.4154)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039BF #78BF39
analogous
#3D39BF #8039BF #BF39BB
triadic
#8039BF #BF8039 #39BF80
tetradic
#8039BF #BF3D39 #78BF39 #39BBBF
square
#8039BF #BF3D39 #78BF39 #39BBBF
split-complementary
#8039BF #BBBF39 #39BF3D
monochromatic
#411D61 #602B90 #8039BF #9E64D1 #BB93DF

Accessibility & contrast

On white

6.45
#8039BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8039BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039BF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039BF#FFFFFF#000000##FFFFFF
##8039BF1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#745878
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8039bf;
/* rgb */ color: rgb(128, 57, 191);
/* oklch */ color: oklch(50.7% 0.200 304.3);
Tailwind
colors: {
  custom: {
    50: '#aa75d3',
    500: '#8039bf',
    950: '#000000',
  },
}
SCSS
$custom: #8039bf;
$custom-light: #aa75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8039bf",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 271.791,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.20005,
    "h": 304.3
  },
  "luminance": 0.11277
}

Semantic roles & 50–950 ramp

primary
#8039BF
secondary
#A8CA8A
accent
#DD4A90
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8039BF

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

Preview Lab → · Contrast checker → · Palette generator →

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