#8060CD#8060CD

#8060CD is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.3% C 0.162 H 294.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8060CD
RGBrgb(128, 96, 205)
HSLhsl(258, 52%, 59%)
HSVhsv(258, 53%, 80%)
CMYKcmyk(37.6%, 53.2%, 0%, 19.6%)
CIE-LABlab(48.71, 37.54, -52.24)
CIE-LCHlch(48.71, 64.33, 305.70°)
OKLaboklab(57.34% 0.0666 -0.148)
OKLCHoklch(57.34% 0.162 294.2)
XYZxyz(24.1015, 17.3622, 59.8272)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060CD #ADCD60
analogous
#6077CD #8060CD #B760CD
triadic
#8060CD #CD8060 #60CD80
tetradic
#8060CD #CD6077 #ADCD60 #60CDB7
square
#8060CD #CD6077 #ADCD60 #60CDB7
split-complementary
#8060CD #CDB760 #77CD60
monochromatic
#462B88 #5E39B6 #8060CD #A58FDC #CABDEA

Accessibility & contrast

On white

4.70
#8060CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8060CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8060CD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060CD#FFFFFF#000000##FFFFFF
##8060CD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#3972CB
Tritanopia (blue-blind)
#6D768D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8060cd;
/* rgb */ color: rgb(128, 96, 205);
/* oklch */ color: oklch(57.3% 0.162 294.2);
Tailwind
colors: {
  custom: {
    50: '#a98edd',
    500: '#8060cd',
    950: '#000000',
  },
}
SCSS
$custom: #8060cd;
$custom-light: #a98edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8060cd",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 205
  },
  "hsl": {
    "h": 257.615,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57341,
    "c": 0.16235,
    "h": 294.2
  },
  "luminance": 0.17363
}

Semantic roles & 50–950 ramp

primary
#8060CD
secondary
#CDDAAF
accent
#DC4CB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8060CD

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

Preview Lab → · Contrast checker → · Palette generator →

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