#8A60EB#8A60EB

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

Color values

HEX#8A60EB
RGBrgb(138, 96, 235)
HSLhsl(258, 78%, 65%)
HSVhsv(258, 59%, 92%)
CMYKcmyk(41.3%, 59.1%, 0%, 7.8%)
CIE-LABlab(51.57, 47.87, -64.59)
CIE-LCHlch(51.57, 80.39, 306.54°)
OKLaboklab(60.28% 0.0796 -0.184)
OKLCHoklch(60.28% 0.201 293.4)
XYZxyz(29.6555, 19.7664, 80.8340)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60EB #C1EB60
analogous
#607CEB #8A60EB #CF60EB
triadic
#8A60EB #EB8A60 #60EB8A
tetradic
#8A60EB #EB607C #C1EB60 #60EBCF
square
#8A60EB #EB607C #C1EB60 #60EBCF
split-complementary
#8A60EB #EBCF60 #7CEB60
monochromatic
#4817B9 #622AE4 #8A60EB #B296F2 #DACDF9

Accessibility & contrast

On white

4.24
#8A60EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8A60EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60EB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60EB#FFFFFF#000000##000000
##8A60EB1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#0F78E8
Tritanopia (blue-blind)
#707F9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a60eb;
/* rgb */ color: rgb(138, 96, 235);
/* oklch */ color: oklch(60.3% 0.201 293.4);
Tailwind
colors: {
  custom: {
    50: '#b28ff2',
    500: '#8a60eb',
    950: '#000000',
  },
}
SCSS
$custom: #8a60eb;
$custom-light: #b28ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60eb",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 258.129,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60279,
    "c": 0.20053,
    "h": 293.4
  },
  "luminance": 0.19767
}

Semantic roles & 50–950 ramp

primary
#8A60EB
secondary
#DDEBBC
accent
#DA0C9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A60EB

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

Preview Lab → · Contrast checker → · Palette generator →

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