#8A60C7#8A60C7

#8A60C7 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.9% C 0.156 H 300.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8A60C7
RGBrgb(138, 96, 199)
HSLhsl(264, 48%, 58%)
HSVhsv(264, 52%, 78%)
CMYKcmyk(30.7%, 51.8%, 0%, 22%)
CIE-LABlab(49.37, 38.49, -47.69)
CIE-LCHlch(49.37, 61.29, 308.90°)
OKLaboklab(57.95% 0.079 -0.1344)
OKLCHoklch(57.95% 0.156 300.4)
XYZxyz(24.9705, 17.8924, 56.1598)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60C7 #9DC760
analogous
#6069C7 #8A60C7 #BD60C7
triadic
#8A60C7 #C78A60 #60C78A
tetradic
#8A60C7 #C76069 #9DC760 #60C7BD
square
#8A60C7 #C76069 #9DC760 #60C7BD
split-complementary
#8A60C7 #C7BD60 #69C760
monochromatic
#4F2D80 #6B3DAD #8A60C7 #AB8DD7 #CDBBE7

Accessibility & contrast

On white

4.59
#8A60C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8A60C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A60C7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60C7#FFFFFF#000000##FFFFFF
##8A60C71.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C75CB
Deuteranopia (green-blind)
#4775C5
Tritanopia (blue-blind)
#7E748A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a60c7;
/* rgb */ color: rgb(138, 96, 199);
/* oklch */ color: oklch(57.9% 0.156 300.4);
Tailwind
colors: {
  custom: {
    50: '#af8ed8',
    500: '#8a60c7',
    950: '#000000',
  },
}
SCSS
$custom: #8a60c7;
$custom-light: #af8ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60c7",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 199
  },
  "hsl": {
    "h": 264.466,
    "s": 47.907,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57946,
    "c": 0.15593,
    "h": 300.4
  },
  "luminance": 0.17893
}

Semantic roles & 50–950 ramp

primary
#8A60C7
secondary
#C5D6AD
accent
#D750A0
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8A60C7

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

Preview Lab → · Contrast checker → · Palette generator →

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