#8A60E8#8A60E8

#8A60E8 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.1% C 0.197 H 293.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8A60E8
RGBrgb(138, 96, 232)
HSLhsl(259, 75%, 64%)
HSVhsv(259, 59%, 91%)
CMYKcmyk(40.5%, 58.6%, 0%, 9%)
CIE-LABlab(51.38, 47.07, -63.22)
CIE-LCHlch(51.38, 78.82, 306.66°)
OKLaboklab(60.07% 0.0797 -0.18)
OKLCHoklch(60.07% 0.197 293.9)
XYZxyz(29.2257, 19.5945, 78.5706)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60E8 #BEE860
analogous
#607AE8 #8A60E8 #CE60E8
triadic
#8A60E8 #E88A60 #60E88A
tetradic
#8A60E8 #E8607A #BEE860 #60E8CE
square
#8A60E8 #E8607A #BEE860 #60E8CE
split-complementary
#8A60E8 #E8CE60 #7AE860
monochromatic
#491AB4 #632BE0 #8A60E8 #B195F0 #D9CBF7

Accessibility & contrast

On white

4.27
#8A60E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8A60E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60E8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60E8#FFFFFF#000000##000000
##8A60E81.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#1A78E5
Tritanopia (blue-blind)
#717E9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a60e8;
/* rgb */ color: rgb(138, 96, 232);
/* oklch */ color: oklch(60.1% 0.197 293.9);
Tailwind
colors: {
  custom: {
    50: '#b28ff0',
    500: '#8a60e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a60e8;
$custom-light: #b28ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60e8",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 232
  },
  "hsl": {
    "h": 258.529,
    "s": 74.725,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60073,
    "c": 0.19688,
    "h": 293.9
  },
  "luminance": 0.19595
}

Semantic roles & 50–950 ramp

primary
#8A60E8
secondary
#DBE9BA
accent
#D70F99
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A60E8

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

Preview Lab → · Contrast checker → · Palette generator →

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