#8A60EA#8A60EA

#8A60EA is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.2% C 0.199 H 293.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8A60EA
RGBrgb(138, 96, 234)
HSLhsl(258, 77%, 65%)
HSVhsv(258, 59%, 92%)
CMYKcmyk(41%, 59%, 0%, 8.2%)
CIE-LABlab(51.51, 47.60, -64.14)
CIE-LCHlch(51.51, 79.87, 306.58°)
OKLaboklab(60.21% 0.0796 -0.1827)
OKLCHoklch(60.21% 0.199 293.5)
XYZxyz(29.5114, 19.7088, 80.0752)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60EA #C0EA60
analogous
#607BEA #8A60EA #CF60EA
triadic
#8A60EA #EA8A60 #60EA8A
tetradic
#8A60EA #EA607B #C0EA60 #60EACF
square
#8A60EA #EA607B #C0EA60 #60EACF
split-complementary
#8A60EA #EACF60 #7BEA60
monochromatic
#4918B7 #622AE3 #8A60EA #B296F1 #DACCF8

Accessibility & contrast

On white

4.25
#8A60EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8A60EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60EA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60EA#FFFFFF#000000##000000
##8A60EA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#1378E7
Tritanopia (blue-blind)
#707E9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a60ea;
/* rgb */ color: rgb(138, 96, 234);
/* oklch */ color: oklch(60.2% 0.199 293.5);
Tailwind
colors: {
  custom: {
    50: '#b28ff1',
    500: '#8a60ea',
    950: '#000000',
  },
}
SCSS
$custom: #8a60ea;
$custom-light: #b28ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60ea",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 234
  },
  "hsl": {
    "h": 258.261,
    "s": 76.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6021,
    "c": 0.19931,
    "h": 293.5
  },
  "luminance": 0.1971
}

Semantic roles & 50–950 ramp

primary
#8A60EA
secondary
#DCEBBB
accent
#D90D9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A60EA

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

Preview Lab → · Contrast checker → · Palette generator →

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