#8060CB#8060CB

#8060CB is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.2% C 0.160 H 294.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8060CB
RGBrgb(128, 96, 203)
HSLhsl(258, 51%, 59%)
HSVhsv(258, 53%, 80%)
CMYKcmyk(36.9%, 52.7%, 0%, 20.4%)
CIE-LABlab(48.59, 37.00, -51.28)
CIE-LCHlch(48.59, 63.24, 305.81°)
OKLaboklab(57.21% 0.0665 -0.1452)
OKLCHoklch(57.21% 0.16 294.6)
XYZxyz(23.8617, 17.2663, 58.5639)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060CB #ABCB60
analogous
#6075CB #8060CB #B560CB
triadic
#8060CB #CB8060 #60CB80
tetradic
#8060CB #CB6075 #ABCB60 #60CBB5
square
#8060CB #CB6075 #ABCB60 #60CBB5
split-complementary
#8060CB #CBB560 #75CB60
monochromatic
#462C85 #5F3BB3 #8060CB #A58EDA #CABCE9

Accessibility & contrast

On white

4.72
#8060CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8060CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8060CB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060CB#FFFFFF#000000##FFFFFF
##8060CB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3374CF
Deuteranopia (green-blind)
#3B72C9
Tritanopia (blue-blind)
#6E768C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8060cb;
/* rgb */ color: rgb(128, 96, 203);
/* oklch */ color: oklch(57.2% 0.160 294.6);
Tailwind
colors: {
  custom: {
    50: '#a98edb',
    500: '#8060cb',
    950: '#000000',
  },
}
SCSS
$custom: #8060cb;
$custom-light: #a98edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8060cb",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 203
  },
  "hsl": {
    "h": 257.944,
    "s": 50.711,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57214,
    "c": 0.15975,
    "h": 294.6
  },
  "luminance": 0.17267
}

Semantic roles & 50–950 ramp

primary
#8060CB
secondary
#CCD9AE
accent
#DA4EB0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8060CB

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

Preview Lab → · Contrast checker → · Palette generator →

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