#8060BF#8060BF

#8060BF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.5% C 0.144 H 297.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8060BF
RGBrgb(128, 96, 191)
HSLhsl(260, 43%, 56%)
HSVhsv(260, 50%, 75%)
CMYKcmyk(33%, 49.7%, 0%, 25.1%)
CIE-LABlab(47.90, 33.81, -45.48)
CIE-LCHlch(47.90, 56.67, 306.63°)
OKLaboklab(56.47% 0.0656 -0.1282)
OKLCHoklch(56.47% 0.144 297.1)
XYZxyz(22.4866, 16.7162, 51.3220)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060BF #9FBF60
analogous
#6070BF #8060BF #B060BF
triadic
#8060BF #BF8060 #60BF80
tetradic
#8060BF #BF6070 #9FBF60 #60BFB0
square
#8060BF #BF6070 #9FBF60 #60BFB0
split-complementary
#8060BF #BFB060 #70BF60
monochromatic
#472F75 #6141A1 #8060BF #A38CD1 #C6B7E2

Accessibility & contrast

On white

4.83
#8060BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8060BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8060BF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060BF#FFFFFF#000000##FFFFFF
##8060BF1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C2
Deuteranopia (green-blind)
#4671BD
Tritanopia (blue-blind)
#727286
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8060bf;
/* rgb */ color: rgb(128, 96, 191);
/* oklch */ color: oklch(56.5% 0.144 297.1);
Tailwind
colors: {
  custom: {
    50: '#a88ed3',
    500: '#8060bf',
    950: '#000000',
  },
}
SCSS
$custom: #8060bf;
$custom-light: #a88ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#8060bf",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 191
  },
  "hsl": {
    "h": 260.211,
    "s": 42.601,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56473,
    "c": 0.14404,
    "h": 297.1
  },
  "luminance": 0.16717
}

Semantic roles & 50–950 ramp

primary
#8060BF
secondary
#C4D1AA
accent
#D255A8
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #8060BF

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

Preview Lab → · Contrast checker → · Palette generator →

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