#8060EA#8060EA

#8060EA is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.3% C 0.199 H 289.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8060EA
RGBrgb(128, 96, 234)
HSLhsl(254, 77%, 65%)
HSVhsv(254, 59%, 92%)
CMYKcmyk(45.3%, 59%, 0%, 8.2%)
CIE-LABlab(50.56, 45.51, -65.71)
CIE-LCHlch(50.56, 79.93, 304.71°)
OKLaboklab(59.3% 0.0668 -0.1876)
OKLCHoklch(59.3% 0.199 289.6)
XYZxyz(27.9320, 18.8944, 80.0012)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060EA #CAEA60
analogous
#6085EA #8060EA #C560EA
triadic
#8060EA #EA8060 #60EA80
tetradic
#8060EA #EA6085 #CAEA60 #60EAC5
square
#8060EA #EA6085 #CAEA60 #60EAC5
split-complementary
#8060EA #EAC560 #85EA60
monochromatic
#3D18B7 #552AE3 #8060EA #AB96F1 #D6CCF8

Accessibility & contrast

On white

4.39
#8060EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8060EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8060EA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060EA#FFFFFF#000000##000000
##8060EA1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#5F7F9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8060ea;
/* rgb */ color: rgb(128, 96, 234);
/* oklch */ color: oklch(59.3% 0.199 289.6);
Tailwind
colors: {
  custom: {
    50: '#ac8ef2',
    500: '#8060ea',
    950: '#000000',
  },
}
SCSS
$custom: #8060ea;
$custom-light: #ac8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8060ea",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 234
  },
  "hsl": {
    "h": 253.913,
    "s": 76.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.19917,
    "h": 289.6
  },
  "luminance": 0.18895
}

Semantic roles & 50–950 ramp

primary
#8060EA
secondary
#E0EBBB
accent
#D90DAA
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8060EA

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

Preview Lab → · Contrast checker → · Palette generator →

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