#8A60DC#8A60DC

#8A60DC is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.3% C 0.182 H 296.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A60DC
RGBrgb(138, 96, 220)
HSLhsl(260, 64%, 62%)
HSVhsv(260, 56%, 86%)
CMYKcmyk(37.3%, 56.4%, 0%, 13.7%)
CIE-LABlab(50.61, 43.90, -57.68)
CIE-LCHlch(50.61, 72.49, 307.27°)
OKLaboklab(59.27% 0.0798 -0.1637)
OKLCHoklch(59.27% 0.182 296)
XYZxyz(27.5791, 18.9358, 69.8982)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60DC #B2DC60
analogous
#6074DC #8A60DC #C860DC
triadic
#8A60DC #DC8A60 #60DC8A
tetradic
#8A60DC #DC6074 #B2DC60 #60DCC8
square
#8A60DC #DC6074 #B2DC60 #60DCC8
split-complementary
#8A60DC #DCC860 #74DC60
monochromatic
#4D239F #652ED1 #8A60DC #AF92E7 #D4C4F2

Accessibility & contrast

On white

4.39
#8A60DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8A60DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60DC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60DC#FFFFFF#000000##000000
##8A60DC1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2179E0
Deuteranopia (green-blind)
#3177D9
Tritanopia (blue-blind)
#767A95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a60dc;
/* rgb */ color: rgb(138, 96, 220);
/* oklch */ color: oklch(59.3% 0.182 296.0);
Tailwind
colors: {
  custom: {
    50: '#b18ee7',
    500: '#8a60dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a60dc;
$custom-light: #b18ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60dc",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 260.323,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59268,
    "c": 0.18215,
    "h": 296
  },
  "luminance": 0.18936
}

Semantic roles & 50–950 ramp

primary
#8A60DC
secondary
#D3E3B5
accent
#CC1A8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A60DC

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

Preview Lab → · Contrast checker → · Palette generator →

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