#8A60EC#8A60EC

#8A60EC is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.3% C 0.202 H 293.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8A60EC
RGBrgb(138, 96, 236)
HSLhsl(258, 79%, 65%)
HSVhsv(258, 59%, 93%)
CMYKcmyk(41.5%, 59.3%, 0%, 7.5%)
CIE-LABlab(51.64, 48.13, -65.05)
CIE-LCHlch(51.64, 80.92, 306.50°)
OKLaboklab(60.35% 0.0796 -0.1854)
OKLCHoklch(60.35% 0.202 293.2)
XYZxyz(29.8003, 19.8243, 81.5970)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60EC #C2EC60
analogous
#607CEC #8A60EC #D060EC
triadic
#8A60EC #EC8A60 #60EC8A
tetradic
#8A60EC #EC607C #C2EC60 #60ECD0
square
#8A60EC #EC607C #C2EC60 #60ECD0
split-complementary
#8A60EC #ECD060 #7CEC60
monochromatic
#4816BB #6229E5 #8A60EC #B297F3 #DACDF9

Accessibility & contrast

On white

4.23
#8A60EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8A60EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60EC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60EC#FFFFFF#000000##000000
##8A60EC1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#0979E9
Tritanopia (blue-blind)
#6F7F9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a60ec;
/* rgb */ color: rgb(138, 96, 236);
/* oklch */ color: oklch(60.3% 0.202 293.2);
Tailwind
colors: {
  custom: {
    50: '#b28ff3',
    500: '#8a60ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a60ec;
$custom-light: #b28ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60ec",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 236
  },
  "hsl": {
    "h": 258,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60348,
    "c": 0.20173,
    "h": 293.2
  },
  "luminance": 0.19825
}

Semantic roles & 50–950 ramp

primary
#8A60EC
secondary
#DDECBC
accent
#DB0B9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A60EC

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

Preview Lab → · Contrast checker → · Palette generator →

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