#8060BC#8060BC

#8060BC is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.3% C 0.140 H 297.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8060BC
RGBrgb(128, 96, 188)
HSLhsl(261, 41%, 56%)
HSVhsv(261, 49%, 74%)
CMYKcmyk(31.9%, 48.9%, 0%, 26.3%)
CIE-LABlab(47.73, 33.02, -44.00)
CIE-LCHlch(47.73, 55.02, 306.89°)
OKLaboklab(56.29% 0.0653 -0.1239)
OKLCHoklch(56.29% 0.14 297.8)
XYZxyz(22.1599, 16.5855, 49.6010)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060BC #9CBC60
analogous
#606EBC #8060BC #AE60BC
triadic
#8060BC #BC8060 #60BC80
tetradic
#8060BC #BC606E #9CBC60 #60BCAE
square
#8060BC #BC606E #9CBC60 #60BCAE
split-complementary
#8060BC #BCAE60 #6EBC60
monochromatic
#473072 #62429D #8060BC #A28BCE #C5B6E0

Accessibility & contrast

On white

4.86
#8060BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8060BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8060BC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060BC#FFFFFF#000000##FFFFFF
##8060BC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4171BF
Deuteranopia (green-blind)
#4870BA
Tritanopia (blue-blind)
#737185
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8060bc;
/* rgb */ color: rgb(128, 96, 188);
/* oklch */ color: oklch(56.3% 0.140 297.8);
Tailwind
colors: {
  custom: {
    50: '#a78ed0',
    500: '#8060bc',
    950: '#000000',
  },
}
SCSS
$custom: #8060bc;
$custom-light: #a78ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8060bc",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 188
  },
  "hsl": {
    "h": 260.87,
    "s": 40.708,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56295,
    "c": 0.14008,
    "h": 297.8
  },
  "luminance": 0.16586
}

Semantic roles & 50–950 ramp

primary
#8060BC
secondary
#C2CFA9
accent
#D157A6
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8060BC

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

Preview Lab → · Contrast checker → · Palette generator →

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