#8A60E4#8A60E4

#8A60E4 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.8% C 0.192 H 294.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8A60E4
RGBrgb(138, 96, 228)
HSLhsl(259, 71%, 64%)
HSVhsv(259, 58%, 89%)
CMYKcmyk(39.5%, 57.9%, 0%, 10.6%)
CIE-LABlab(51.12, 46.00, -61.39)
CIE-LCHlch(51.12, 76.71, 306.85°)
OKLaboklab(59.8% 0.0798 -0.1746)
OKLCHoklch(59.8% 0.192 294.6)
XYZxyz(28.6640, 19.3698, 75.6123)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60E4 #BAE460
analogous
#6078E4 #8A60E4 #CC60E4
triadic
#8A60E4 #E48A60 #60E48A
tetradic
#8A60E4 #E46078 #BAE460 #60E4CC
square
#8A60E4 #E46078 #BAE460 #60E4CC
split-complementary
#8A60E4 #E4CC60 #78E460
monochromatic
#4B1DAC #642CDB #8A60E4 #B094ED #D7C9F6

Accessibility & contrast

On white

4.31
#8A60E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8A60E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60E4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60E4#FFFFFF#000000##000000
##8A60E41.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A7BE8
Deuteranopia (green-blind)
#2378E1
Tritanopia (blue-blind)
#737D99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a60e4;
/* rgb */ color: rgb(138, 96, 228);
/* oklch */ color: oklch(59.8% 0.192 294.6);
Tailwind
colors: {
  custom: {
    50: '#b18fed',
    500: '#8a60e4',
    950: '#000000',
  },
}
SCSS
$custom: #8a60e4;
$custom-light: #b18fed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60e4",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 228
  },
  "hsl": {
    "h": 259.091,
    "s": 70.968,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59801,
    "c": 0.19199,
    "h": 294.6
  },
  "luminance": 0.1937
}

Semantic roles & 50–950 ramp

primary
#8A60E4
secondary
#D8E7B9
accent
#D31396
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A60E4

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

Preview Lab → · Contrast checker → · Palette generator →

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