#8060BB#8060BB

#8060BB is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.2% C 0.139 H 298.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8060BB
RGBrgb(128, 96, 187)
HSLhsl(261, 40%, 55%)
HSVhsv(261, 49%, 73%)
CMYKcmyk(31.6%, 48.7%, 0%, 26.7%)
CIE-LABlab(47.68, 32.76, -43.51)
CIE-LCHlch(47.68, 54.47, 306.98°)
OKLaboklab(56.24% 0.0652 -0.1225)
OKLCHoklch(56.24% 0.139 298)
XYZxyz(22.0524, 16.5426, 49.0353)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060BB #9BBB60
analogous
#606DBB #8060BB #AD60BB
triadic
#8060BB #BB8060 #60BB80
tetradic
#8060BB #BB606D #9BBB60 #60BBAD
square
#8060BB #BB606D #9BBB60 #60BBAD
split-complementary
#8060BB #BBAD60 #6DBB60
monochromatic
#473070 #62429B #8060BB #A28BCD #C4B6E0

Accessibility & contrast

On white

4.87
#8060BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8060BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8060BB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060BB#FFFFFF#000000##FFFFFF
##8060BB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#747185
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8060bb;
/* rgb */ color: rgb(128, 96, 187);
/* oklch */ color: oklch(56.2% 0.139 298.0);
Tailwind
colors: {
  custom: {
    50: '#a78ed0',
    500: '#8060bb',
    950: '#000000',
  },
}
SCSS
$custom: #8060bb;
$custom-light: #a78ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8060bb",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 187
  },
  "hsl": {
    "h": 261.099,
    "s": 40.088,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56236,
    "c": 0.13875,
    "h": 298
  },
  "luminance": 0.16543
}

Semantic roles & 50–950 ramp

primary
#8060BB
secondary
#C1CEA8
accent
#D058A6
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8060BB

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

Preview Lab → · Contrast checker → · Palette generator →

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