#8060FA#8060FA

#8060FA is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.5% C 0.219 H 287.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8060FA
RGBrgb(128, 96, 250)
HSLhsl(252, 94%, 68%)
HSVhsv(252, 62%, 98%)
CMYKcmyk(48.8%, 61.6%, 0%, 2%)
CIE-LABlab(51.67, 50.00, -72.85)
CIE-LCHlch(51.67, 88.36, 304.46°)
OKLaboklab(60.46% 0.0659 -0.2086)
OKLCHoklch(60.46% 0.219 287.5)
XYZxyz(30.3352, 19.8557, 92.6581)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060FA #DAFA60
analogous
#608DFA #8060FA #CD60FA
triadic
#8060FA #FA8060 #60FA80
tetradic
#8060FA #FA608D #DAFA60 #60FACD
square
#8060FA #FA608D #DAFA60 #60FACD
split-complementary
#8060FA #FACD60 #8DFA60
monochromatic
#3207D9 #5125F8 #8060FA #AF9BFC #DFD7FE

Accessibility & contrast

On white

4.22
#8060FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8060FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8060FA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060FA#FFFFFF#000000##000000
##8060FA1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0077F7
Tritanopia (blue-blind)
#5585A4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8060fa;
/* rgb */ color: rgb(128, 96, 250);
/* oklch */ color: oklch(60.5% 0.219 287.5);
Tailwind
colors: {
  custom: {
    50: '#ae8ffd',
    500: '#8060fa',
    950: '#000000',
  },
}
SCSS
$custom: #8060fa;
$custom-light: #ae8ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#8060fa",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 250
  },
  "hsl": {
    "h": 252.468,
    "s": 93.902,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60458,
    "c": 0.2188,
    "h": 287.5
  },
  "luminance": 0.19857
}

Semantic roles & 50–950 ramp

primary
#8060FA
secondary
#E9F3C3
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #8060FA

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

Preview Lab → · Contrast checker → · Palette generator →

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