#8A60B3#8A60B3

#8A60B3 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.8% C 0.131 H 306.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8A60B3
RGBrgb(138, 96, 179)
HSLhsl(270, 35%, 54%)
HSVhsv(270, 46%, 70%)
CMYKcmyk(22.9%, 46.4%, 0%, 29.8%)
CIE-LABlab(48.29, 33.56, -37.82)
CIE-LCHlch(48.29, 50.56, 311.58°)
OKLaboklab(56.79% 0.0768 -0.1056)
OKLCHoklch(56.79% 0.131 306)
XYZxyz(22.7991, 17.0239, 44.7239)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60B3 #89B360
analogous
#6160B3 #8A60B3 #B360B3
triadic
#8A60B3 #B38A60 #60B38A
tetradic
#8A60B3 #B36160 #89B360 #60B3B3
square
#8A60B3 #B36160 #89B360 #60B3B3
split-complementary
#8A60B3 #B3B360 #60B361
monochromatic
#4D3167 #6B4591 #8A60B3 #A889C7 #C7B3DB

Accessibility & contrast

On white

4.77
#8A60B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8A60B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A60B3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60B3#FFFFFF#000000##FFFFFF
##8A60B31.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B6
Deuteranopia (green-blind)
#5573B1
Tritanopia (blue-blind)
#846E81
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a60b3;
/* rgb */ color: rgb(138, 96, 179);
/* oklch */ color: oklch(56.8% 0.131 306.0);
Tailwind
colors: {
  custom: {
    50: '#ae8eca',
    500: '#8a60b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a60b3;
$custom-light: #ae8eca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60b3",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 179
  },
  "hsl": {
    "h": 270.361,
    "s": 35.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56795,
    "c": 0.13061,
    "h": 306
  },
  "luminance": 0.17024
}

Semantic roles & 50–950 ramp

primary
#8A60B3
secondary
#B7C9A6
accent
#CB5C93
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8A60B3

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

Preview Lab → · Contrast checker → · Palette generator →

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