#8A60CC#8A60CC

#8A60CC is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.3% C 0.162 H 299.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8A60CC
RGBrgb(138, 96, 204)
HSLhsl(263, 51%, 59%)
HSVhsv(263, 53%, 80%)
CMYKcmyk(32.4%, 52.9%, 0%, 20%)
CIE-LABlab(49.65, 39.76, -50.11)
CIE-LCHlch(49.65, 63.96, 308.43°)
OKLaboklab(58.25% 0.0793 -0.1415)
OKLCHoklch(58.25% 0.162 299.3)
XYZxyz(25.5606, 18.1284, 59.2675)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60CC #A2CC60
analogous
#606CCC #8A60CC #C060CC
triadic
#8A60CC #CC8A60 #60CC8A
tetradic
#8A60CC #CC606C #A2CC60 #60CCC0
square
#8A60CC #CC606C #A2CC60 #60CCC0
split-complementary
#8A60CC #CCC060 #6CCC60
monochromatic
#4F2B86 #6A3AB5 #8A60CC #AC8EDB #CEBDEA

Accessibility & contrast

On white

4.54
#8A60CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8A60CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60CC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60CC#FFFFFF#000000##000000
##8A60CC1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776D0
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#7C758D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a60cc;
/* rgb */ color: rgb(138, 96, 204);
/* oklch */ color: oklch(58.3% 0.162 299.3);
Tailwind
colors: {
  custom: {
    50: '#af8edc',
    500: '#8a60cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a60cc;
$custom-light: #af8edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60cc",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 204
  },
  "hsl": {
    "h": 263.333,
    "s": 51.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58251,
    "c": 0.16221,
    "h": 299.3
  },
  "luminance": 0.18129
}

Semantic roles & 50–950 ramp

primary
#8A60CC
secondary
#C9D9AF
accent
#DB4DA4
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A60CC

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

Preview Lab → · Contrast checker → · Palette generator →

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