#8060EB#8060EB

#8060EB is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.4% C 0.200 H 289.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8060EB
RGBrgb(128, 96, 235)
HSLhsl(254, 78%, 65%)
HSVhsv(254, 59%, 92%)
CMYKcmyk(45.5%, 59.1%, 0%, 7.8%)
CIE-LABlab(50.63, 45.79, -66.16)
CIE-LCHlch(50.63, 80.46, 304.69°)
OKLaboklab(59.37% 0.0668 -0.189)
OKLCHoklch(59.37% 0.2 289.5)
XYZxyz(28.0761, 18.9520, 80.7599)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060EB #CBEB60
analogous
#6085EB #8060EB #C660EB
triadic
#8060EB #EB8060 #60EB80
tetradic
#8060EB #EB6085 #CBEB60 #60EBC6
square
#8060EB #EB6085 #CBEB60 #60EBC6
split-complementary
#8060EB #EBC660 #85EB60
monochromatic
#3D17B9 #552AE4 #8060EB #AB96F2 #D7CDF9

Accessibility & contrast

On white

4.38
#8060EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8060EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8060EB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060EB#FFFFFF#000000##000000
##8060EB1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#5F809C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8060eb;
/* rgb */ color: rgb(128, 96, 235);
/* oklch */ color: oklch(59.4% 0.200 289.5);
Tailwind
colors: {
  custom: {
    50: '#ac8ef2',
    500: '#8060eb',
    950: '#000000',
  },
}
SCSS
$custom: #8060eb;
$custom-light: #ac8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8060eb",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 253.813,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59367,
    "c": 0.20041,
    "h": 289.5
  },
  "luminance": 0.18953
}

Semantic roles & 50–950 ramp

primary
#8060EB
secondary
#E0EBBC
accent
#DA0CAA
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8060EB

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

Preview Lab → · Contrast checker → · Palette generator →

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