#8C60EA#8C60EA

#8C60EA is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.4% C 0.199 H 294.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8C60EA
RGBrgb(140, 96, 234)
HSLhsl(259, 77%, 65%)
HSVhsv(259, 59%, 92%)
CMYKcmyk(40.2%, 59%, 0%, 8.2%)
CIE-LABlab(51.70, 48.03, -63.81)
CIE-LCHlch(51.70, 79.86, 306.97°)
OKLaboklab(60.4% 0.0822 -0.1817)
OKLCHoklch(60.4% 0.199 294.3)
XYZxyz(29.8454, 19.8810, 80.0909)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C60EA #BEEA60
analogous
#6079EA #8C60EA #D160EA
triadic
#8C60EA #EA8C60 #60EA8C
tetradic
#8C60EA #EA6079 #BEEA60 #60EAD1
square
#8C60EA #EA6079 #BEEA60 #60EAD1
split-complementary
#8C60EA #EAD160 #79EA60
monochromatic
#4B18B7 #652AE3 #8C60EA #B396F1 #DACCF8

Accessibility & contrast

On white

4.22
#8C60EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8C60EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C60EA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C60EA#FFFFFF#000000##000000
##8C60EA1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#1979E7
Tritanopia (blue-blind)
#747E9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8c60ea;
/* rgb */ color: rgb(140, 96, 234);
/* oklch */ color: oklch(60.4% 0.199 294.3);
Tailwind
colors: {
  custom: {
    50: '#b38ff1',
    500: '#8c60ea',
    950: '#000000',
  },
}
SCSS
$custom: #8c60ea;
$custom-light: #b38ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c60ea",
  "rgb": {
    "r": 140,
    "g": 96,
    "b": 234
  },
  "hsl": {
    "h": 259.13,
    "s": 76.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60399,
    "c": 0.19942,
    "h": 294.3
  },
  "luminance": 0.19882
}

Semantic roles & 50–950 ramp

primary
#8C60EA
secondary
#DBEBBB
accent
#D90D98
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8C60EA

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

Preview Lab → · Contrast checker → · Palette generator →

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