#8060E6#8060E6

#8060E6 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.0% C 0.194 H 290.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8060E6
RGBrgb(128, 96, 230)
HSLhsl(254, 73%, 64%)
HSVhsv(254, 58%, 90%)
CMYKcmyk(44.3%, 58.3%, 0%, 9.8%)
CIE-LABlab(50.30, 44.40, -63.89)
CIE-LCHlch(50.30, 77.80, 304.80°)
OKLaboklab(59.01% 0.0669 -0.1823)
OKLCHoklch(59.01% 0.194 290.2)
XYZxyz(27.3639, 18.6671, 77.0089)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060E6 #C6E660
analogous
#6083E6 #8060E6 #C360E6
triadic
#8060E6 #E68060 #60E680
tetradic
#8060E6 #E66083 #C6E660 #60E6C3
square
#8060E6 #E66083 #C6E660 #60E6C3
split-complementary
#8060E6 #E6C360 #83E660
monochromatic
#3F1CB0 #562BDE #8060E6 #AA95EE #D4CAF7

Accessibility & contrast

On white

4.44
#8060E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8060E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8060E6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060E6#FFFFFF#000000##000000
##8060E61.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#0075E3
Tritanopia (blue-blind)
#617E9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8060e6;
/* rgb */ color: rgb(128, 96, 230);
/* oklch */ color: oklch(59.0% 0.194 290.2);
Tailwind
colors: {
  custom: {
    50: '#ab8eef',
    500: '#8060e6',
    950: '#000000',
  },
}
SCSS
$custom: #8060e6;
$custom-light: #ab8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#8060e6",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 230
  },
  "hsl": {
    "h": 254.328,
    "s": 72.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59014,
    "c": 0.19419,
    "h": 290.2
  },
  "luminance": 0.18668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8060E6

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

Preview Lab → · Contrast checker → · Palette generator →

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