#8A60E9#8A60E9

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

Color values

HEX#8A60E9
RGBrgb(138, 96, 233)
HSLhsl(258, 76%, 65%)
HSVhsv(258, 59%, 91%)
CMYKcmyk(40.8%, 58.8%, 0%, 8.6%)
CIE-LABlab(51.44, 47.33, -63.68)
CIE-LCHlch(51.44, 79.34, 306.62°)
OKLaboklab(60.14% 0.0797 -0.1814)
OKLCHoklch(60.14% 0.198 293.7)
XYZxyz(29.3681, 19.6515, 79.3208)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60E9 #BFE960
analogous
#607BE9 #8A60E9 #CF60E9
triadic
#8A60E9 #E98A60 #60E98A
tetradic
#8A60E9 #E9607B #BFE960 #60E9CF
square
#8A60E9 #E9607B #BFE960 #60E9CF
split-complementary
#8A60E9 #E9CF60 #7BE960
monochromatic
#4919B5 #622AE2 #8A60E9 #B296F0 #D9CCF8

Accessibility & contrast

On white

4.26
#8A60E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8A60E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60E9
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60E9#FFFFFF#000000##000000
##8A60E91.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#1678E6
Tritanopia (blue-blind)
#717E9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a60e9;
/* rgb */ color: rgb(138, 96, 233);
/* oklch */ color: oklch(60.1% 0.198 293.7);
Tailwind
colors: {
  custom: {
    50: '#b28ff1',
    500: '#8a60e9',
    950: '#000000',
  },
}
SCSS
$custom: #8a60e9;
$custom-light: #b28ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60e9",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 233
  },
  "hsl": {
    "h": 258.394,
    "s": 75.691,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60141,
    "c": 0.19809,
    "h": 293.7
  },
  "luminance": 0.19652
}

Semantic roles & 50–950 ramp

primary
#8A60E9
secondary
#DCEABB
accent
#D80E9A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A60E9

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

Preview Lab → · Contrast checker → · Palette generator →

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