#8060CF#8060CF

#8060CF is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.5% C 0.165 H 293.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8060CF
RGBrgb(128, 96, 207)
HSLhsl(257, 54%, 59%)
HSVhsv(257, 54%, 81%)
CMYKcmyk(38.2%, 53.6%, 0%, 18.8%)
CIE-LABlab(48.83, 38.08, -53.19)
CIE-LCHlch(48.83, 65.41, 305.60°)
OKLaboklab(57.47% 0.0667 -0.1508)
OKLCHoklch(57.47% 0.165 293.9)
XYZxyz(24.3445, 17.4594, 61.1068)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060CF #AFCF60
analogous
#6078CF #8060CF #B760CF
triadic
#8060CF #CF8060 #60CF80
tetradic
#8060CF #CF6078 #AFCF60 #60CFB7
square
#8060CF #CF6078 #AFCF60 #60CFB7
split-complementary
#8060CF #CFB760 #78CF60
monochromatic
#462A8B #5D38BA #8060CF #A68FDD #CBBEEB

Accessibility & contrast

On white

4.67
#8060CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8060CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8060CF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060CF#FFFFFF#000000##FFFFFF
##8060CF1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D3
Deuteranopia (green-blind)
#3772CC
Tritanopia (blue-blind)
#6C778E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8060cf;
/* rgb */ color: rgb(128, 96, 207);
/* oklch */ color: oklch(57.5% 0.165 293.9);
Tailwind
colors: {
  custom: {
    50: '#a98ede',
    500: '#8060cf',
    950: '#000000',
  },
}
SCSS
$custom: #8060cf;
$custom-light: #a98ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8060cf",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 207
  },
  "hsl": {
    "h": 257.297,
    "s": 53.623,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57469,
    "c": 0.16493,
    "h": 293.9
  },
  "luminance": 0.1746
}

Semantic roles & 50–950 ramp

primary
#8060CF
secondary
#CFDBB0
accent
#DD4BB3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8060CF

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

Preview Lab → · Contrast checker → · Palette generator →

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