#8060DB#8060DB

#8060DB is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.3% C 0.180 H 291.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8060DB
RGBrgb(128, 96, 219)
HSLhsl(256, 63%, 62%)
HSVhsv(256, 56%, 86%)
CMYKcmyk(41.6%, 56.2%, 0%, 14.1%)
CIE-LABlab(49.58, 41.35, -58.83)
CIE-LCHlch(49.58, 71.91, 305.11°)
OKLaboklab(58.26% 0.067 -0.1674)
OKLCHoklch(58.26% 0.18 291.8)
XYZxyz(25.8677, 18.0687, 69.1288)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8060DB #BBDB60
analogous
#607EDB #8060DB #BE60DB
triadic
#8060DB #DB8060 #60DB80
tetradic
#8060DB #DB607E #BBDB60 #60DBBE
square
#8060DB #DB607E #BBDB60 #60DBBE
split-complementary
#8060DB #DBBE60 #7EDB60
monochromatic
#43249D #592FCF #8060DB #A892E6 #D0C4F2

Accessibility & contrast

On white

4.55
#8060DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8060DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8060DB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8060DB#FFFFFF#000000##000000
##8060DB1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B78DF
Deuteranopia (green-blind)
#2573D8
Tritanopia (blue-blind)
#677B94
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8060db;
/* rgb */ color: rgb(128, 96, 219);
/* oklch */ color: oklch(58.3% 0.180 291.8);
Tailwind
colors: {
  custom: {
    50: '#aa8ee7',
    500: '#8060db',
    950: '#000000',
  },
}
SCSS
$custom: #8060db;
$custom-light: #aa8ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#8060db",
  "rgb": {
    "r": 128,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 255.61,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58259,
    "c": 0.18032,
    "h": 291.8
  },
  "luminance": 0.18069
}

Semantic roles & 50–950 ramp

primary
#8060DB
secondary
#D6E2B5
accent
#CB1B9D
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #8060DB

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

Preview Lab → · Contrast checker → · Palette generator →

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