#8E60AB#8E60AB

#8E60AB is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.8% C 0.122 H 311.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8E60AB
RGBrgb(142, 96, 171)
HSLhsl(277, 31%, 52%)
HSVhsv(277, 44%, 67%)
CMYKcmyk(17%, 43.9%, 0%, 32.9%)
CIE-LABlab(48.33, 32.87, -33.06)
CIE-LCHlch(48.33, 46.61, 314.84°)
OKLaboklab(56.8% 0.0805 -0.0917)
OKLCHoklch(56.8% 0.122 311.3)
XYZxyz(22.6876, 17.0572, 40.6174)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E60AB #7DAB60
analogous
#6960AB #8E60AB #AB60A2
triadic
#8E60AB #AB8E60 #60AB8E
tetradic
#8E60AB #AB6960 #7DAB60 #60A2AB
square
#8E60AB #AB6960 #7DAB60 #60A2AB
split-complementary
#8E60AB #A2AB60 #60AB69
monochromatic
#4D325F #6E4787 #8E60AB #AA88C0 #C7B0D5

Accessibility & contrast

On white

4.76
#8E60AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8E60AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E60AB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E60AB#FFFFFF#000000##FFFFFF
##8E60AB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5070AE
Deuteranopia (green-blind)
#5C74A9
Tritanopia (blue-blind)
#8B6B7D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8e60ab;
/* rgb */ color: rgb(142, 96, 171);
/* oklch */ color: oklch(56.8% 0.122 311.3);
Tailwind
colors: {
  custom: {
    50: '#b08ec4',
    500: '#8e60ab',
    950: '#000000',
  },
}
SCSS
$custom: #8e60ab;
$custom-light: #b08ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e60ab",
  "rgb": {
    "r": 142,
    "g": 96,
    "b": 171
  },
  "hsl": {
    "h": 276.8,
    "s": 30.864,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56797,
    "c": 0.12205,
    "h": 311.3
  },
  "luminance": 0.17057
}

Semantic roles & 50–950 ramp

primary
#8E60AB
secondary
#B0C4A3
accent
#C76188
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #8E60AB

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

Preview Lab → · Contrast checker → · Palette generator →

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