#8039BE#8039BE

#8039BE is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.7% C 0.199 H 304.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8039BE
RGBrgb(128, 57, 190)
HSLhsl(272, 54%, 48%)
HSVhsv(272, 70%, 75%)
CMYKcmyk(32.6%, 70%, 0%, 25.5%)
CIE-LABlab(39.97, 54.44, -57.63)
CIE-LCHlch(39.97, 79.28, 313.37°)
OKLaboklab(50.66% 0.113 -0.1638)
OKLCHoklch(50.66% 0.199 304.6)
XYZxyz(19.6574, 11.2332, 49.8379)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8039BE #77BE39
analogous
#3D39BE #8039BE #BE39B9
triadic
#8039BE #BE8039 #39BE80
tetradic
#8039BE #BE3D39 #77BE39 #39B9BE
square
#8039BE #BE3D39 #77BE39 #39B9BE
split-complementary
#8039BE #B9BE39 #39BE3D
monochromatic
#411D60 #602B8F #8039BE #9E64D0 #BB93DF

Accessibility & contrast

On white

6.47
#8039BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8039BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8039BE
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8039BE#FFFFFF#000000##FFFFFF
##8039BE1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#745877
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8039be;
/* rgb */ color: rgb(128, 57, 190);
/* oklch */ color: oklch(50.7% 0.199 304.6);
Tailwind
colors: {
  custom: {
    50: '#aa75d2',
    500: '#8039be',
    950: '#000000',
  },
}
SCSS
$custom: #8039be;
$custom-light: #aa75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8039be",
  "rgb": {
    "r": 128,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 272.03,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50661,
    "c": 0.199,
    "h": 304.6
  },
  "luminance": 0.11233
}

Semantic roles & 50–950 ramp

primary
#8039BE
secondary
#A7CA89
accent
#DD4B8F
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8039BE

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

Preview Lab → · Contrast checker → · Palette generator →

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