#8060F8#8060F8

#8060F8 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.3% C 0.216 H 287.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8060F8
RGBrgb(128, 96, 248)
HSLhsl(253, 92%, 67%)
HSVhsv(253, 61%, 97%)
CMYKcmyk(48.4%, 61.3%, 0%, 2.7%)
CIE-LABlab(51.53, 49.44, -71.97)
CIE-LCHlch(51.53, 87.31, 304.49°)
OKLaboklab(60.31% 0.0661 -0.206)
OKLCHoklch(60.31% 0.216 287.8)
XYZxyz(30.0233, 19.7309, 91.0152)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060F8 #D8F860
analogous
#608CF8 #8060F8 #CC60F8
triadic
#8060F8 #F88060 #60F880
tetradic
#8060F8 #F8608C #D8F860 #60F8CC
square
#8060F8 #F8608C #D8F860 #60F8CC
split-complementary
#8060F8 #F8CC60 #8CF860
monochromatic
#3409D4 #5125F5 #8060F8 #AF9BFB #DED5FD

Accessibility & contrast

On white

4.25
#8060F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8060F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8060F8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060F8#FFFFFF#000000##000000
##8060F81.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFD
Deuteranopia (green-blind)
#0077F5
Tritanopia (blue-blind)
#5784A3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8060f8;
/* rgb */ color: rgb(128, 96, 248);
/* oklch */ color: oklch(60.3% 0.216 287.8);
Tailwind
colors: {
  custom: {
    50: '#ad8ffc',
    500: '#8060f8',
    950: '#000000',
  },
}
SCSS
$custom: #8060f8;
$custom-light: #ad8ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#8060f8",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 248
  },
  "hsl": {
    "h": 252.632,
    "s": 91.566,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60309,
    "c": 0.21637,
    "h": 287.8
  },
  "luminance": 0.19732
}

Semantic roles & 50–950 ramp

primary
#8060F8
secondary
#E8F2C2
accent
#E600B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #8060F8

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

Preview Lab → · Contrast checker → · Palette generator →

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