#8E60DC#8E60DC

#8E60DC is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.7% C 0.183 H 297.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8E60DC
RGBrgb(142, 96, 220)
HSLhsl(262, 64%, 62%)
HSVhsv(262, 56%, 86%)
CMYKcmyk(35.5%, 56.4%, 0%, 13.7%)
CIE-LABlab(51.02, 44.83, -57.01)
CIE-LCHlch(51.02, 72.52, 308.18°)
OKLaboklab(59.66% 0.0849 -0.1616)
OKLCHoklch(59.66% 0.183 297.7)
XYZxyz(28.2532, 19.2835, 69.9298)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E60DC #AEDC60
analogous
#6070DC #8E60DC #CC60DC
triadic
#8E60DC #DC8E60 #60DC8E
tetradic
#8E60DC #DC6070 #AEDC60 #60DCCC
square
#8E60DC #DC6070 #AEDC60 #60DCCC
split-complementary
#8E60DC #DCCC60 #70DC60
monochromatic
#51239F #6A2ED1 #8E60DC #B292E7 #D5C4F2

Accessibility & contrast

On white

4.32
#8E60DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8E60DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E60DC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E60DC#FFFFFF#000000##000000
##8E60DC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#247AE0
Deuteranopia (green-blind)
#3678D9
Tritanopia (blue-blind)
#7C7A95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e60dc;
/* rgb */ color: rgb(142, 96, 220);
/* oklch */ color: oklch(59.7% 0.183 297.7);
Tailwind
colors: {
  custom: {
    50: '#b38fe7',
    500: '#8e60dc',
    950: '#000000',
  },
}
SCSS
$custom: #8e60dc;
$custom-light: #b38fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e60dc",
  "rgb": {
    "r": 142,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 262.258,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59661,
    "c": 0.1826,
    "h": 297.7
  },
  "luminance": 0.19284
}

Semantic roles & 50–950 ramp

primary
#8E60DC
secondary
#D2E3B5
accent
#CC1A8A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E60DC

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

Preview Lab → · Contrast checker → · Palette generator →

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