#8E60DB#8E60DB

#8E60DB is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.6% C 0.181 H 297.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8E60DB
RGBrgb(142, 96, 219)
HSLhsl(262, 63%, 62%)
HSVhsv(262, 56%, 86%)
CMYKcmyk(35.2%, 56.2%, 0%, 14.1%)
CIE-LABlab(50.96, 44.57, -56.54)
CIE-LCHlch(50.96, 72.00, 308.25°)
OKLaboklab(59.6% 0.0849 -0.1603)
OKLCHoklch(59.6% 0.181 297.9)
XYZxyz(28.1212, 19.2306, 69.2344)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E60DB #ADDB60
analogous
#6070DB #8E60DB #CC60DB
triadic
#8E60DB #DB8E60 #60DB8E
tetradic
#8E60DB #DB6070 #ADDB60 #60DBCC
square
#8E60DB #DB6070 #ADDB60 #60DBCC
split-complementary
#8E60DB #DBCC60 #70DB60
monochromatic
#51249D #6B2FCF #8E60DB #B192E6 #D5C4F2

Accessibility & contrast

On white

4.33
#8E60DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8E60DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E60DB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E60DB#FFFFFF#000000##000000
##8E60DB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#267ADF
Deuteranopia (green-blind)
#3778D8
Tritanopia (blue-blind)
#7D7994
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e60db;
/* rgb */ color: rgb(142, 96, 219);
/* oklch */ color: oklch(59.6% 0.181 297.9);
Tailwind
colors: {
  custom: {
    50: '#b38fe7',
    500: '#8e60db',
    950: '#000000',
  },
}
SCSS
$custom: #8e60db;
$custom-light: #b38fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e60db",
  "rgb": {
    "r": 142,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 262.439,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59596,
    "c": 0.18137,
    "h": 297.9
  },
  "luminance": 0.19231
}

Semantic roles & 50–950 ramp

primary
#8E60DB
secondary
#D1E2B5
accent
#CB1B89
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E60DB

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

Preview Lab → · Contrast checker → · Palette generator →

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