#8A60C8#8A60C8

#8A60C8 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.0% C 0.157 H 300.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8A60C8
RGBrgb(138, 96, 200)
HSLhsl(264, 49%, 58%)
HSVhsv(264, 52%, 78%)
CMYKcmyk(31%, 52%, 0%, 21.6%)
CIE-LABlab(49.42, 38.74, -48.18)
CIE-LCHlch(49.42, 61.82, 308.80°)
OKLaboklab(58.01% 0.0791 -0.1359)
OKLCHoklch(58.01% 0.157 300.2)
XYZxyz(25.0870, 17.9390, 56.7733)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60C8 #9EC860
analogous
#606AC8 #8A60C8 #BE60C8
triadic
#8A60C8 #C88A60 #60C88A
tetradic
#8A60C8 #C8606A #9EC860 #60C8BE
square
#8A60C8 #C8606A #9EC860 #60C8BE
split-complementary
#8A60C8 #C8BE60 #6AC860
monochromatic
#4F2D81 #6A3CAE #8A60C8 #AB8DD8 #CDBBE7

Accessibility & contrast

On white

4.58
#8A60C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8A60C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60C8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60C8#FFFFFF#000000##000000
##8A60C81.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CC
Deuteranopia (green-blind)
#4775C6
Tritanopia (blue-blind)
#7E748B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a60c8;
/* rgb */ color: rgb(138, 96, 200);
/* oklch */ color: oklch(58.0% 0.157 300.2);
Tailwind
colors: {
  custom: {
    50: '#af8ed9',
    500: '#8a60c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a60c8;
$custom-light: #af8ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60c8",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 200
  },
  "hsl": {
    "h": 264.231,
    "s": 48.598,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58006,
    "c": 0.15719,
    "h": 300.2
  },
  "luminance": 0.17939
}

Semantic roles & 50–950 ramp

primary
#8A60C8
secondary
#C6D7AD
accent
#D850A1
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A60C8

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

Preview Lab → · Contrast checker → · Palette generator →

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