#8060E5#8060E5

#8060E5 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.193 H 290.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8060E5
RGBrgb(128, 96, 229)
HSLhsl(254, 72%, 64%)
HSVhsv(254, 58%, 90%)
CMYKcmyk(44.1%, 58.1%, 0%, 10.2%)
CIE-LABlab(50.23, 44.12, -63.43)
CIE-LCHlch(50.23, 77.27, 304.82°)
OKLaboklab(58.94% 0.0669 -0.1809)
OKLCHoklch(58.94% 0.193 290.3)
XYZxyz(27.2239, 18.6111, 76.2715)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060E5 #C5E560
analogous
#6082E5 #8060E5 #C260E5
triadic
#8060E5 #E58060 #60E580
tetradic
#8060E5 #E56082 #C5E560 #60E5C2
square
#8060E5 #E56082 #C5E560 #60E5C2
split-complementary
#8060E5 #E5C260 #82E560
monochromatic
#401CAE #562BDC #8060E5 #AA95EE #D4C9F6

Accessibility & contrast

On white

4.45
#8060E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8060E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8060E5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060E5#FFFFFF#000000##000000
##8060E51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#0475E2
Tritanopia (blue-blind)
#627E99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8060e5;
/* rgb */ color: rgb(128, 96, 229);
/* oklch */ color: oklch(58.9% 0.193 290.3);
Tailwind
colors: {
  custom: {
    50: '#ab8eee',
    500: '#8060e5',
    950: '#000000',
  },
}
SCSS
$custom: #8060e5;
$custom-light: #ab8eee;
$custom-dark: #000000;
JSON
{
  "hex": "#8060e5",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 229
  },
  "hsl": {
    "h": 254.436,
    "s": 71.892,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58944,
    "c": 0.19293,
    "h": 290.3
  },
  "luminance": 0.18612
}

Semantic roles & 50–950 ramp

primary
#8060E5
secondary
#DDE8B9
accent
#D412A5
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8060E5

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

Preview Lab → · Contrast checker → · Palette generator →

#8060E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva