#8A60C0#8A60C0

#8A60C0 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.5% C 0.147 H 302.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8A60C0
RGBrgb(138, 96, 192)
HSLhsl(266, 43%, 56%)
HSVhsv(266, 50%, 75%)
CMYKcmyk(28.1%, 50%, 0%, 24.7%)
CIE-LABlab(48.98, 36.73, -44.28)
CIE-LCHlch(48.98, 57.53, 309.68°)
OKLaboklab(57.53% 0.0784 -0.1245)
OKLCHoklch(57.53% 0.147 302.2)
XYZxyz(24.1764, 17.5748, 51.9775)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60C0 #96C060
analogous
#6066C0 #8A60C0 #BA60C0
triadic
#8A60C0 #C08A60 #60C08A
tetradic
#8A60C0 #C06066 #96C060 #60C0BA
square
#8A60C0 #C06066 #96C060 #60C0BA
split-complementary
#8A60C0 #C0BA60 #66C060
monochromatic
#4E2F77 #6B40A2 #8A60C0 #AA8CD1 #CBB8E3

Accessibility & contrast

On white

4.65
#8A60C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8A60C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A60C0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60C0#FFFFFF#000000##FFFFFF
##8A60C01.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4274C3
Deuteranopia (green-blind)
#4D74BE
Tritanopia (blue-blind)
#807287
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a60c0;
/* rgb */ color: rgb(138, 96, 192);
/* oklch */ color: oklch(57.5% 0.147 302.2);
Tailwind
colors: {
  custom: {
    50: '#af8ed3',
    500: '#8a60c0',
    950: '#000000',
  },
}
SCSS
$custom: #8a60c0;
$custom-light: #af8ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60c0",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 192
  },
  "hsl": {
    "h": 266.25,
    "s": 43.243,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57531,
    "c": 0.14708,
    "h": 302.2
  },
  "luminance": 0.17575
}

Semantic roles & 50–950 ramp

primary
#8A60C0
secondary
#C0D2AA
accent
#D3559C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8A60C0

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

Preview Lab → · Contrast checker → · Palette generator →

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