#8A60DB#8A60DB

#8A60DB is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.2% C 0.181 H 296.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8A60DB
RGBrgb(138, 96, 219)
HSLhsl(260, 63%, 62%)
HSVhsv(260, 56%, 86%)
CMYKcmyk(37%, 56.2%, 0%, 14.1%)
CIE-LABlab(50.55, 43.63, -57.21)
CIE-LCHlch(50.55, 71.95, 307.33°)
OKLaboklab(59.2% 0.0798 -0.1624)
OKLCHoklch(59.2% 0.181 296.2)
XYZxyz(27.4470, 18.8830, 69.2028)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60DB #B1DB60
analogous
#6074DB #8A60DB #C860DB
triadic
#8A60DB #DB8A60 #60DB8A
tetradic
#8A60DB #DB6074 #B1DB60 #60DBC8
square
#8A60DB #DB6074 #B1DB60 #60DBC8
split-complementary
#8A60DB #DBC860 #74DB60
monochromatic
#4D249D #662FCF #8A60DB #AF92E6 #D3C4F2

Accessibility & contrast

On white

4.40
#8A60DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8A60DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60DB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60DB#FFFFFF#000000##000000
##8A60DB1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2379DF
Deuteranopia (green-blind)
#3377D8
Tritanopia (blue-blind)
#777A94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a60db;
/* rgb */ color: rgb(138, 96, 219);
/* oklch */ color: oklch(59.2% 0.181 296.2);
Tailwind
colors: {
  custom: {
    50: '#b18ee7',
    500: '#8a60db',
    950: '#000000',
  },
}
SCSS
$custom: #8a60db;
$custom-light: #b18ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60db",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 260.488,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59203,
    "c": 0.18092,
    "h": 296.2
  },
  "luminance": 0.18883
}

Semantic roles & 50–950 ramp

primary
#8A60DB
secondary
#D3E2B5
accent
#CB1B8F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A60DB

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

Preview Lab → · Contrast checker → · Palette generator →

#8A60DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva