#8A60BA#8A60BA

#8A60BA is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.2% C 0.139 H 303.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8A60BA
RGBrgb(138, 96, 186)
HSLhsl(268, 39%, 55%)
HSVhsv(268, 48%, 73%)
CMYKcmyk(25.8%, 48.4%, 0%, 27.1%)
CIE-LABlab(48.65, 35.25, -41.32)
CIE-LCHlch(48.65, 54.31, 310.47°)
OKLaboklab(57.18% 0.0777 -0.1158)
OKLCHoklch(57.18% 0.139 303.9)
XYZxyz(23.5251, 17.3143, 48.5475)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60BA #90BA60
analogous
#6063BA #8A60BA #B760BA
triadic
#8A60BA #BA8A60 #60BA8A
tetradic
#8A60BA #BA6063 #90BA60 #60BAB7
square
#8A60BA #BA6063 #90BA60 #60BAB7
split-complementary
#8A60BA #BAB760 #63BA60
monochromatic
#4E306F #6B439A #8A60BA #A98BCD #C9B5DF

Accessibility & contrast

On white

4.71
#8A60BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8A60BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A60BA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60BA#FFFFFF#000000##FFFFFF
##8A60BA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4672BD
Deuteranopia (green-blind)
#5174B8
Tritanopia (blue-blind)
#827084
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a60ba;
/* rgb */ color: rgb(138, 96, 186);
/* oklch */ color: oklch(57.2% 0.139 303.9);
Tailwind
colors: {
  custom: {
    50: '#ae8ecf',
    500: '#8a60ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a60ba;
$custom-light: #ae8ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60ba",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 186
  },
  "hsl": {
    "h": 268,
    "s": 39.474,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57185,
    "c": 0.13949,
    "h": 303.9
  },
  "luminance": 0.17314
}

Semantic roles & 50–950 ramp

primary
#8A60BA
secondary
#BCCEA8
accent
#CF5898
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8A60BA

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

Preview Lab → · Contrast checker → · Palette generator →

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