#8E66EB#8E66EB

#8E66EB is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.6% C 0.192 H 293.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8E66EB
RGBrgb(142, 102, 235)
HSLhsl(258, 77%, 66%)
HSVhsv(258, 57%, 92%)
CMYKcmyk(39.6%, 56.6%, 0%, 7.8%)
CIE-LABlab(53.22, 45.42, -61.91)
CIE-LCHlch(53.22, 76.79, 306.27°)
OKLaboklab(61.58% 0.0779 -0.176)
OKLCHoklch(61.58% 0.192 293.9)
XYZxyz(30.8981, 21.2509, 81.0551)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E66EB #C3EB66
analogous
#6680EB #8E66EB #D066EB
triadic
#8E66EB #EB8E66 #66EB8E
tetradic
#8E66EB #EB6680 #C3EB66 #66EBD0
square
#8E66EB #EB6680 #C3EB66 #66EBD0
split-complementary
#8E66EB #EBD066 #80EB66
monochromatic
#4A19BE #6630E4 #8E66EB #B69CF2 #DED2F9

Accessibility & contrast

On white

4.00
#8E66EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8E66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E66EB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E66EB#FFFFFF#000000##000000
##8E66EB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B81EF
Deuteranopia (green-blind)
#2B7DE8
Tritanopia (blue-blind)
#76829F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e66eb;
/* rgb */ color: rgb(142, 102, 235);
/* oklch */ color: oklch(61.6% 0.192 293.9);
Tailwind
colors: {
  custom: {
    50: '#b493f2',
    500: '#8e66eb',
    950: '#000000',
  },
}
SCSS
$custom: #8e66eb;
$custom-light: #b493f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e66eb",
  "rgb": {
    "r": 142,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 258.045,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61581,
    "c": 0.19249,
    "h": 293.9
  },
  "luminance": 0.21252
}

Semantic roles & 50–950 ramp

primary
#8E66EB
secondary
#DFECC1
accent
#D90C9C
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8E66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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