#8A60E6#8A60E6

#8A60E6 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.9% C 0.194 H 294.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8A60E6
RGBrgb(138, 96, 230)
HSLhsl(259, 73%, 64%)
HSVhsv(259, 58%, 90%)
CMYKcmyk(40%, 58.3%, 0%, 9.8%)
CIE-LABlab(51.25, 46.53, -62.31)
CIE-LCHlch(51.25, 77.77, 306.75°)
OKLaboklab(59.94% 0.0797 -0.1773)
OKLCHoklch(59.94% 0.194 294.2)
XYZxyz(28.9432, 19.4815, 77.0829)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60E6 #BCE660
analogous
#6079E6 #8A60E6 #CD60E6
triadic
#8A60E6 #E68A60 #60E68A
tetradic
#8A60E6 #E66079 #BCE660 #60E6CD
square
#8A60E6 #E66079 #BCE660 #60E6CD
split-complementary
#8A60E6 #E6CD60 #79E660
monochromatic
#4A1CB0 #632BDE #8A60E6 #B195EE #D8CAF7

Accessibility & contrast

On white

4.29
#8A60E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8A60E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60E6
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60E6#FFFFFF#000000##000000
##8A60E61.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#1F78E3
Tritanopia (blue-blind)
#727D9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a60e6;
/* rgb */ color: rgb(138, 96, 230);
/* oklch */ color: oklch(59.9% 0.194 294.2);
Tailwind
colors: {
  custom: {
    50: '#b28fef',
    500: '#8a60e6',
    950: '#000000',
  },
}
SCSS
$custom: #8a60e6;
$custom-light: #b28fef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60e6",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 230
  },
  "hsl": {
    "h": 258.806,
    "s": 72.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59936,
    "c": 0.19443,
    "h": 294.2
  },
  "luminance": 0.19482
}

Semantic roles & 50–950 ramp

primary
#8A60E6
secondary
#DAE8B9
accent
#D51197
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A60E6

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

Preview Lab → · Contrast checker → · Palette generator →

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