#8E66DB#8E66DB

#8E66DB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.6% C 0.173 H 296.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8E66DB
RGBrgb(142, 102, 219)
HSLhsl(261, 62%, 63%)
HSVhsv(261, 53%, 86%)
CMYKcmyk(35.2%, 53.4%, 0%, 14.1%)
CIE-LABlab(52.25, 41.22, -54.47)
CIE-LCHlch(52.25, 68.31, 307.12°)
OKLaboklab(60.55% 0.0775 -0.1542)
OKLCHoklch(60.55% 0.173 296.7)
XYZxyz(28.6897, 20.3676, 69.4239)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E66DB #B3DB66
analogous
#6678DB #8E66DB #C966DB
triadic
#8E66DB #DB8E66 #66DB8E
tetradic
#8E66DB #DB6678 #B3DB66 #66DBC9
square
#8E66DB #DB6678 #B3DB66 #66DBC9
split-complementary
#8E66DB #DBC966 #78DB66
monochromatic
#5026A1 #6934CF #8E66DB #B398E7 #D7C9F2

Accessibility & contrast

On white

4.14
#8E66DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8E66DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E66DB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E66DB#FFFFFF#000000##000000
##8E66DB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDF
Deuteranopia (green-blind)
#417BD8
Tritanopia (blue-blind)
#7C7E97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8e66db;
/* rgb */ color: rgb(142, 102, 219);
/* oklch */ color: oklch(60.6% 0.173 296.7);
Tailwind
colors: {
  custom: {
    50: '#b393e7',
    500: '#8e66db',
    950: '#000000',
  },
}
SCSS
$custom: #8e66db;
$custom-light: #b393e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e66db",
  "rgb": {
    "r": 142,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 260.513,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60551,
    "c": 0.17257,
    "h": 296.7
  },
  "luminance": 0.20368
}

Semantic roles & 50–950 ramp

primary
#8E66DB
secondary
#D5E3B9
accent
#CA1C8E
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8E66DB

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

Preview Lab → · Contrast checker → · Palette generator →

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