#8060E4#8060E4

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

Color values

HEX#8060E4
RGBrgb(128, 96, 228)
HSLhsl(255, 71%, 64%)
HSVhsv(255, 58%, 89%)
CMYKcmyk(43.9%, 57.9%, 0%, 10.6%)
CIE-LABlab(50.16, 43.84, -62.98)
CIE-LCHlch(50.16, 76.73, 304.84°)
OKLaboklab(58.88% 0.067 -0.1796)
OKLCHoklch(58.88% 0.192 290.4)
XYZxyz(27.0846, 18.5554, 75.5382)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060E4 #C4E460
analogous
#6082E4 #8060E4 #C260E4
triadic
#8060E4 #E48060 #60E480
tetradic
#8060E4 #E46082 #C4E460 #60E4C2
square
#8060E4 #E46082 #C4E460 #60E4C2
split-complementary
#8060E4 #E4C260 #82E460
monochromatic
#401DAC #562CDB #8060E4 #AA94ED #D4C9F6

Accessibility & contrast

On white

4.46
#8060E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8060E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8060E4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060E4#FFFFFF#000000##000000
##8060E41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#0A74E1
Tritanopia (blue-blind)
#627D99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8060e4;
/* rgb */ color: rgb(128, 96, 228);
/* oklch */ color: oklch(58.9% 0.192 290.4);
Tailwind
colors: {
  custom: {
    50: '#ab8eed',
    500: '#8060e4',
    950: '#000000',
  },
}
SCSS
$custom: #8060e4;
$custom-light: #ab8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#8060e4",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 228
  },
  "hsl": {
    "h": 254.545,
    "s": 70.968,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58875,
    "c": 0.19168,
    "h": 290.4
  },
  "luminance": 0.18556
}

Semantic roles & 50–950 ramp

primary
#8060E4
secondary
#DCE7B9
accent
#D313A4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8060E4

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

Preview Lab → · Contrast checker → · Palette generator →

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