#8A60CD#8A60CD

#8A60CD is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.3% C 0.163 H 299.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8A60CD
RGBrgb(138, 96, 205)
HSLhsl(263, 52%, 59%)
HSVhsv(263, 53%, 80%)
CMYKcmyk(32.7%, 53.2%, 0%, 19.6%)
CIE-LABlab(49.71, 40.01, -50.59)
CIE-LCHlch(49.71, 64.50, 308.34°)
OKLaboklab(58.31% 0.0794 -0.1429)
OKLCHoklch(58.31% 0.163 299)
XYZxyz(25.6809, 18.1766, 59.9012)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60CD #A3CD60
analogous
#606DCD #8A60CD #C160CD
triadic
#8A60CD #CD8A60 #60CD8A
tetradic
#8A60CD #CD606D #A3CD60 #60CDC1
square
#8A60CD #CD606D #A3CD60 #60CDC1
split-complementary
#8A60CD #CDC160 #6DCD60
monochromatic
#4F2B88 #6A39B6 #8A60CD #AC8FDC #CFBDEA

Accessibility & contrast

On white

4.53
#8A60CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8A60CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60CD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60CD#FFFFFF#000000##000000
##8A60CD1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3676D1
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#7C758D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a60cd;
/* rgb */ color: rgb(138, 96, 205);
/* oklch */ color: oklch(58.3% 0.163 299.0);
Tailwind
colors: {
  custom: {
    50: '#af8edd',
    500: '#8a60cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a60cd;
$custom-light: #af8edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60cd",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 205
  },
  "hsl": {
    "h": 263.119,
    "s": 52.153,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58312,
    "c": 0.16347,
    "h": 299
  },
  "luminance": 0.18177
}

Semantic roles & 50–950 ramp

primary
#8A60CD
secondary
#C9DAAF
accent
#DC4CA4
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A60CD

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

Preview Lab → · Contrast checker → · Palette generator →

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