#8060DF#8060DF

#8060DF is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.5% C 0.185 H 291.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8060DF
RGBrgb(128, 96, 223)
HSLhsl(255, 66%, 63%)
HSVhsv(255, 57%, 87%)
CMYKcmyk(42.6%, 57%, 0%, 12.5%)
CIE-LABlab(49.84, 42.46, -60.68)
CIE-LCHlch(49.84, 74.06, 304.98°)
OKLaboklab(58.53% 0.067 -0.1728)
OKLCHoklch(58.53% 0.185 291.2)
XYZxyz(26.4006, 18.2818, 71.9355)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060DF #BFDF60
analogous
#6080DF #8060DF #BF60DF
triadic
#8060DF #DF8060 #60DF80
tetradic
#8060DF #DF6080 #BFDF60 #60DFBF
square
#8060DF #DF6080 #BFDF60 #60DFBF
split-complementary
#8060DF #DFBF60 #80DF60
monochromatic
#4221A4 #572DD5 #8060DF #A993E9 #D1C6F4

Accessibility & contrast

On white

4.51
#8060DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8060DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8060DF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060DF#FFFFFF#000000##000000
##8060DF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F79E3
Deuteranopia (green-blind)
#1C74DC
Tritanopia (blue-blind)
#657C96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8060df;
/* rgb */ color: rgb(128, 96, 223);
/* oklch */ color: oklch(58.5% 0.185 291.2);
Tailwind
colors: {
  custom: {
    50: '#ab8eea',
    500: '#8060df',
    950: '#000000',
  },
}
SCSS
$custom: #8060df;
$custom-light: #ab8eea;
$custom-dark: #000000;
JSON
{
  "hex": "#8060df",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 223
  },
  "hsl": {
    "h": 255.118,
    "s": 66.492,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5853,
    "c": 0.18539,
    "h": 291.2
  },
  "luminance": 0.18283
}

Semantic roles & 50–950 ramp

primary
#8060DF
secondary
#D9E4B6
accent
#CE17A0
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8060DF

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

Preview Lab → · Contrast checker → · Palette generator →

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