#8060F2#8060F2

#8060F2 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 59.9% C 0.209 H 288.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8060F2
RGBrgb(128, 96, 242)
HSLhsl(253, 85%, 66%)
HSVhsv(253, 60%, 95%)
CMYKcmyk(47.1%, 60.3%, 0%, 5.1%)
CIE-LABlab(51.11, 47.75, -69.30)
CIE-LCHlch(51.11, 84.16, 304.57°)
OKLaboklab(59.87% 0.0664 -0.1982)
OKLCHoklch(59.87% 0.209 288.5)
XYZxyz(29.1074, 19.3645, 86.1912)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060F2 #D2F260
analogous
#6089F2 #8060F2 #C960F2
triadic
#8060F2 #F28060 #60F280
tetradic
#8060F2 #F26089 #D2F260 #60F2C9
square
#8060F2 #F26089 #D2F260 #60F2C9
split-complementary
#8060F2 #F2C960 #89F260
monochromatic
#3810C7 #5327ED #8060F2 #AD99F7 #DAD1FB

Accessibility & contrast

On white

4.31
#8060F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8060F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8060F2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060F2#FFFFFF#000000##000000
##8060F21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#5A82A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8060f2;
/* rgb */ color: rgb(128, 96, 242);
/* oklch */ color: oklch(59.9% 0.209 288.5);
Tailwind
colors: {
  custom: {
    50: '#ad8ef7',
    500: '#8060f2',
    950: '#000000',
  },
}
SCSS
$custom: #8060f2;
$custom-light: #ad8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#8060f2",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 253.151,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.5987,
    "c": 0.20905,
    "h": 288.5
  },
  "luminance": 0.19366
}

Semantic roles & 50–950 ramp

primary
#8060F2
secondary
#E4EFBF
accent
#E104B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8060F2

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

Preview Lab → · Contrast checker → · Palette generator →

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