#8060CA#8060CA

#8060CA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.1% C 0.158 H 294.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8060CA
RGBrgb(128, 96, 202)
HSLhsl(258, 50%, 58%)
HSVhsv(258, 52%, 79%)
CMYKcmyk(36.6%, 52.5%, 0%, 20.8%)
CIE-LABlab(48.53, 36.73, -50.80)
CIE-LCHlch(48.53, 62.69, 305.87°)
OKLaboklab(57.15% 0.0665 -0.1438)
OKLCHoklch(57.15% 0.158 294.8)
XYZxyz(23.7429, 17.2187, 57.9383)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060CA #AACA60
analogous
#6075CA #8060CA #B560CA
triadic
#8060CA #CA8060 #60CA80
tetradic
#8060CA #CA6075 #AACA60 #60CAB5
square
#8060CA #CA6075 #AACA60 #60CAB5
split-complementary
#8060CA #CAB560 #75CA60
monochromatic
#462C84 #5F3BB2 #8060CA #A58ED9 #C9BCE9

Accessibility & contrast

On white

4.73
#8060CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8060CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8060CA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060CA#FFFFFF#000000##FFFFFF
##8060CA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3574CE
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#6E758C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8060ca;
/* rgb */ color: rgb(128, 96, 202);
/* oklch */ color: oklch(57.1% 0.158 294.8);
Tailwind
colors: {
  custom: {
    50: '#a98edb',
    500: '#8060ca',
    950: '#000000',
  },
}
SCSS
$custom: #8060ca;
$custom-light: #a98edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8060ca",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 202
  },
  "hsl": {
    "h": 258.113,
    "s": 50,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5715,
    "c": 0.15845,
    "h": 294.8
  },
  "luminance": 0.17219
}

Semantic roles & 50–950 ramp

primary
#8060CA
secondary
#CBD8AE
accent
#DA4EAF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8060CA

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

Preview Lab → · Contrast checker → · Palette generator →

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