#8060CE#8060CE

#8060CE is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.4% C 0.164 H 294.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8060CE
RGBrgb(128, 96, 206)
HSLhsl(257, 53%, 59%)
HSVhsv(257, 53%, 81%)
CMYKcmyk(37.9%, 53.4%, 0%, 19.2%)
CIE-LABlab(48.77, 37.81, -52.71)
CIE-LCHlch(48.77, 64.87, 305.65°)
OKLaboklab(57.4% 0.0667 -0.1494)
OKLCHoklch(57.4% 0.164 294)
XYZxyz(24.2226, 17.4106, 60.4649)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060CE #AECE60
analogous
#6077CE #8060CE #B760CE
triadic
#8060CE #CE8060 #60CE80
tetradic
#8060CE #CE6077 #AECE60 #60CEB7
square
#8060CE #CE6077 #AECE60 #60CEB7
split-complementary
#8060CE #CEB760 #77CE60
monochromatic
#462A89 #5E39B8 #8060CE #A58FDC #CBBEEB

Accessibility & contrast

On white

4.69
#8060CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8060CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8060CE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060CE#FFFFFF#000000##FFFFFF
##8060CE1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3075D2
Deuteranopia (green-blind)
#3872CB
Tritanopia (blue-blind)
#6D778E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8060ce;
/* rgb */ color: rgb(128, 96, 206);
/* oklch */ color: oklch(57.4% 0.164 294.0);
Tailwind
colors: {
  custom: {
    50: '#a98edd',
    500: '#8060ce',
    950: '#000000',
  },
}
SCSS
$custom: #8060ce;
$custom-light: #a98edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8060ce",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 206
  },
  "hsl": {
    "h": 257.455,
    "s": 52.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57405,
    "c": 0.16365,
    "h": 294
  },
  "luminance": 0.17411
}

Semantic roles & 50–950 ramp

primary
#8060CE
secondary
#CEDAAF
accent
#DC4CB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8060CE

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

Preview Lab → · Contrast checker → · Palette generator →

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