#8060F4#8060F4

#8060F4 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.0% C 0.211 H 288.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8060F4
RGBrgb(128, 96, 244)
HSLhsl(253, 87%, 67%)
HSVhsv(253, 61%, 96%)
CMYKcmyk(47.5%, 60.7%, 0%, 4.3%)
CIE-LABlab(51.25, 48.31, -70.19)
CIE-LCHlch(51.25, 85.21, 304.54°)
OKLaboklab(60.02% 0.0663 -0.2008)
OKLCHoklch(60.02% 0.212 288.3)
XYZxyz(29.4094, 19.4853, 87.7819)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060F4 #D4F460
analogous
#608AF4 #8060F4 #CA60F4
triadic
#8060F4 #F48060 #60F480
tetradic
#8060F4 #F4608A #D4F460 #60F4CA
square
#8060F4 #F4608A #D4F460 #60F4CA
split-complementary
#8060F4 #F4CA60 #8AF460
monochromatic
#370ECC #5227F0 #8060F4 #AE99F8 #DBD2FC

Accessibility & contrast

On white

4.29
#8060F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8060F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8060F4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060F4#FFFFFF#000000##000000
##8060F41.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF9
Deuteranopia (green-blind)
#0076F1
Tritanopia (blue-blind)
#5983A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8060f4;
/* rgb */ color: rgb(128, 96, 244);
/* oklch */ color: oklch(60.0% 0.211 288.3);
Tailwind
colors: {
  custom: {
    50: '#ad8ef9',
    500: '#8060f4',
    950: '#000000',
  },
}
SCSS
$custom: #8060f4;
$custom-light: #ad8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#8060f4",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 244
  },
  "hsl": {
    "h": 252.973,
    "s": 87.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60016,
    "c": 0.2115,
    "h": 288.3
  },
  "luminance": 0.19487
}

Semantic roles & 50–950 ramp

primary
#8060F4
secondary
#E5F0C0
accent
#E402B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8060F4

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

Preview Lab → · Contrast checker → · Palette generator →

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