#8060E2#8060E2

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

Color values

HEX#8060E2
RGBrgb(128, 96, 226)
HSLhsl(255, 69%, 63%)
HSVhsv(255, 58%, 89%)
CMYKcmyk(43.4%, 57.5%, 0%, 11.4%)
CIE-LABlab(50.03, 43.29, -62.06)
CIE-LCHlch(50.03, 75.67, 304.90°)
OKLaboklab(58.74% 0.067 -0.1769)
OKLCHoklch(58.74% 0.189 290.7)
XYZxyz(26.8086, 18.4450, 74.0845)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060E2 #C2E260
analogous
#6081E2 #8060E2 #C160E2
triadic
#8060E2 #E28060 #60E280
tetradic
#8060E2 #E26081 #C2E260 #60E2C1
square
#8060E2 #E26081 #C2E260 #60E2C1
split-complementary
#8060E2 #E2C160 #81E260
monochromatic
#411FA9 #572CD9 #8060E2 #A994EB #D3C8F5

Accessibility & contrast

On white

4.48
#8060E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8060E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8060E2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060E2#FFFFFF#000000##000000
##8060E21.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0179E6
Deuteranopia (green-blind)
#1374DF
Tritanopia (blue-blind)
#637D98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8060e2;
/* rgb */ color: rgb(128, 96, 226);
/* oklch */ color: oklch(58.7% 0.189 290.7);
Tailwind
colors: {
  custom: {
    50: '#ab8eec',
    500: '#8060e2',
    950: '#000000',
  },
}
SCSS
$custom: #8060e2;
$custom-light: #ab8eec;
$custom-dark: #000000;
JSON
{
  "hex": "#8060e2",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 254.769,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58736,
    "c": 0.18917,
    "h": 290.7
  },
  "luminance": 0.18446
}

Semantic roles & 50–950 ramp

primary
#8060E2
secondary
#DBE6B8
accent
#D114A3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8060E2

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

Preview Lab → · Contrast checker → · Palette generator →

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