#8060E8#8060E8

#8060E8 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.197 H 289.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8060E8
RGBrgb(128, 96, 232)
HSLhsl(254, 75%, 64%)
HSVhsv(254, 59%, 91%)
CMYKcmyk(44.8%, 58.6%, 0%, 9%)
CIE-LABlab(50.43, 44.95, -64.80)
CIE-LCHlch(50.43, 78.87, 304.75°)
OKLaboklab(59.16% 0.0669 -0.185)
OKLCHoklch(59.16% 0.197 289.9)
XYZxyz(27.6463, 18.7801, 78.4965)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060E8 #C8E860
analogous
#6084E8 #8060E8 #C460E8
triadic
#8060E8 #E88060 #60E880
tetradic
#8060E8 #E86084 #C8E860 #60E8C4
square
#8060E8 #E86084 #C8E860 #60E8C4
split-complementary
#8060E8 #E8C460 #84E860
monochromatic
#3E1AB4 #552BE0 #8060E8 #AB95F0 #D5CBF7

Accessibility & contrast

On white

4.42
#8060E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8060E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8060E8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060E8#FFFFFF#000000##000000
##8060E81.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#607F9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8060e8;
/* rgb */ color: rgb(128, 96, 232);
/* oklch */ color: oklch(59.2% 0.197 289.9);
Tailwind
colors: {
  custom: {
    50: '#ab8ef0',
    500: '#8060e8',
    950: '#000000',
  },
}
SCSS
$custom: #8060e8;
$custom-light: #ab8ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#8060e8",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 232
  },
  "hsl": {
    "h": 254.118,
    "s": 74.725,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59155,
    "c": 0.19667,
    "h": 289.9
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#8060E8
secondary
#DEE9BA
accent
#D70FA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8060E8

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

Preview Lab → · Contrast checker → · Palette generator →

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