#8060B2#8060B2

#8060B2 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.7% C 0.127 H 300.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8060B2
RGBrgb(128, 96, 178)
HSLhsl(263, 35%, 54%)
HSVhsv(263, 46%, 70%)
CMYKcmyk(28.1%, 46.1%, 0%, 30.2%)
CIE-LABlab(47.20, 30.45, -39.04)
CIE-LCHlch(47.20, 49.51, 307.95°)
OKLaboklab(55.72% 0.0641 -0.1094)
OKLCHoklch(55.72% 0.127 300.3)
XYZxyz(21.1190, 16.1692, 44.1192)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060B2 #92B260
analogous
#6069B2 #8060B2 #A960B2
triadic
#8060B2 #B28060 #60B280
tetradic
#8060B2 #B26069 #92B260 #60B2A9
square
#8060B2 #B26069 #92B260 #60B2A9
split-complementary
#8060B2 #B2A960 #69B260
monochromatic
#463166 #62458F #8060B2 #A189C6 #C2B2DA

Accessibility & contrast

On white

4.96
#8060B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8060B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8060B2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060B2#FFFFFF#000000##FFFFFF
##8060B21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#4F6FB0
Tritanopia (blue-blind)
#766F80
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8060b2;
/* rgb */ color: rgb(128, 96, 178);
/* oklch */ color: oklch(55.7% 0.127 300.3);
Tailwind
colors: {
  custom: {
    50: '#a78ec9',
    500: '#8060b2',
    950: '#000000',
  },
}
SCSS
$custom: #8060b2;
$custom-light: #a78ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#8060b2",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 178
  },
  "hsl": {
    "h": 263.415,
    "s": 34.746,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55717,
    "c": 0.1268,
    "h": 300.3
  },
  "luminance": 0.16169
}

Semantic roles & 50–950 ramp

primary
#8060B2
secondary
#BBC8A5
accent
#CB5DA0
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8060B2

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

Preview Lab → · Contrast checker → · Palette generator →

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