#8060E7#8060E7

#8060E7 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.195 H 290.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8060E7
RGBrgb(128, 96, 231)
HSLhsl(254, 74%, 64%)
HSVhsv(254, 58%, 91%)
CMYKcmyk(44.6%, 58.4%, 0%, 9.4%)
CIE-LABlab(50.36, 44.68, -64.35)
CIE-LCHlch(50.36, 78.33, 304.77°)
OKLaboklab(59.08% 0.0669 -0.1836)
OKLCHoklch(59.08% 0.195 290)
XYZxyz(27.5047, 18.7235, 77.7506)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060E7 #C7E760
analogous
#6084E7 #8060E7 #C360E7
triadic
#8060E7 #E78060 #60E780
tetradic
#8060E7 #E76084 #C7E760 #60E7C3
square
#8060E7 #E76084 #C7E760 #60E7C3
split-complementary
#8060E7 #E7C360 #84E760
monochromatic
#3F1BB2 #562BDF #8060E7 #AA95EF #D5CAF7

Accessibility & contrast

On white

4.43
#8060E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8060E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8060E7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060E7#FFFFFF#000000##000000
##8060E71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8060e7;
/* rgb */ color: rgb(128, 96, 231);
/* oklch */ color: oklch(59.1% 0.195 290.0);
Tailwind
colors: {
  custom: {
    50: '#ab8eef',
    500: '#8060e7',
    950: '#000000',
  },
}
SCSS
$custom: #8060e7;
$custom-light: #ab8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#8060e7",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 231
  },
  "hsl": {
    "h": 254.222,
    "s": 73.77,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59084,
    "c": 0.19543,
    "h": 290
  },
  "luminance": 0.18724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8060E7

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

Preview Lab → · Contrast checker → · Palette generator →

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