#8060E1#8060E1

#8060E1 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.188 H 290.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8060E1
RGBrgb(128, 96, 225)
HSLhsl(255, 68%, 63%)
HSVhsv(255, 57%, 88%)
CMYKcmyk(43.1%, 57.3%, 0%, 11.8%)
CIE-LABlab(49.97, 43.01, -61.60)
CIE-LCHlch(49.97, 75.13, 304.92°)
OKLaboklab(58.67% 0.067 -0.1756)
OKLCHoklch(58.67% 0.188 290.9)
XYZxyz(26.6718, 18.3903, 73.3639)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060E1 #C1E160
analogous
#6080E1 #8060E1 #C160E1
triadic
#8060E1 #E18060 #60E180
tetradic
#8060E1 #E16080 #C1E160 #60E1C1
square
#8060E1 #E16080 #C1E160 #60E1C1
split-complementary
#8060E1 #E1C160 #80E160
monochromatic
#4120A7 #572DD7 #8060E1 #A993EB #D2C7F4

Accessibility & contrast

On white

4.49
#8060E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8060E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8060E1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060E1#FFFFFF#000000##000000
##8060E11.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0679E5
Deuteranopia (green-blind)
#1774DE
Tritanopia (blue-blind)
#647C97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8060e1;
/* rgb */ color: rgb(128, 96, 225);
/* oklch */ color: oklch(58.7% 0.188 290.9);
Tailwind
colors: {
  custom: {
    50: '#ab8eeb',
    500: '#8060e1',
    950: '#000000',
  },
}
SCSS
$custom: #8060e1;
$custom-light: #ab8eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8060e1",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 225
  },
  "hsl": {
    "h": 254.884,
    "s": 68.254,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58667,
    "c": 0.18791,
    "h": 290.9
  },
  "luminance": 0.18391
}

Semantic roles & 50–950 ramp

primary
#8060E1
secondary
#DAE6B7
accent
#D015A2
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8060E1

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

Preview Lab → · Contrast checker → · Palette generator →

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