#8060F5#8060F5

#8060F5 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.1% C 0.213 H 288.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8060F5
RGBrgb(128, 96, 245)
HSLhsl(253, 88%, 67%)
HSVhsv(253, 61%, 96%)
CMYKcmyk(47.8%, 60.8%, 0%, 3.9%)
CIE-LABlab(51.32, 48.59, -70.64)
CIE-LCHlch(51.32, 85.74, 304.52°)
OKLaboklab(60.09% 0.0663 -0.2021)
OKLCHoklch(60.09% 0.213 288.1)
XYZxyz(29.5616, 19.5462, 88.5837)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060F5 #D5F560
analogous
#608BF5 #8060F5 #CB60F5
triadic
#8060F5 #F58060 #60F580
tetradic
#8060F5 #F5608B #D5F560 #60F5CB
square
#8060F5 #F5608B #D5F560 #60F5CB
split-complementary
#8060F5 #F5CB60 #8BF560
monochromatic
#360DCE #5226F1 #8060F5 #AE9AF9 #DCD3FC

Accessibility & contrast

On white

4.28
#8060F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#8060F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8060F5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060F5#FFFFFF#000000##000000
##8060F51.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#5983A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8060f5;
/* rgb */ color: rgb(128, 96, 245);
/* oklch */ color: oklch(60.1% 0.213 288.1);
Tailwind
colors: {
  custom: {
    50: '#ad8ef9',
    500: '#8060f5',
    950: '#000000',
  },
}
SCSS
$custom: #8060f5;
$custom-light: #ad8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#8060f5",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 245
  },
  "hsl": {
    "h": 252.886,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60089,
    "c": 0.21271,
    "h": 288.1
  },
  "luminance": 0.19548
}

Semantic roles & 50–950 ramp

primary
#8060F5
secondary
#E6F0C1
accent
#E501B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8060F5

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

Preview Lab → · Contrast checker → · Palette generator →

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