#8E68EA#8E68EA

#8E68EA is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.8% C 0.188 H 293.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8E68EA
RGBrgb(142, 104, 234)
HSLhsl(258, 76%, 66%)
HSVhsv(258, 56%, 92%)
CMYKcmyk(39.3%, 55.6%, 0%, 8.2%)
CIE-LABlab(53.59, 44.04, -60.76)
CIE-LCHlch(53.59, 75.04, 305.94°)
OKLaboklab(61.83% 0.0755 -0.1726)
OKLCHoklch(61.83% 0.188 293.6)
XYZxyz(30.9530, 21.5912, 80.3626)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E68EA #C4EA68
analogous
#6883EA #8E68EA #CF68EA
triadic
#8E68EA #EA8E68 #68EA8E
tetradic
#8E68EA #EA6883 #C4EA68 #68EACF
square
#8E68EA #EA6883 #C4EA68 #68EACF
split-complementary
#8E68EA #EACF68 #83EA68
monochromatic
#4A1ABD #6632E3 #8E68EA #B69EF1 #DED3F9

Accessibility & contrast

On white

3.95
#8E68EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8E68EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E68EA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E68EA#FFFFFF#000000##000000
##8E68EA1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2582EE
Deuteranopia (green-blind)
#317EE7
Tritanopia (blue-blind)
#76849F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8e68ea;
/* rgb */ color: rgb(142, 104, 234);
/* oklch */ color: oklch(61.8% 0.188 293.6);
Tailwind
colors: {
  custom: {
    50: '#b494f1',
    500: '#8e68ea',
    950: '#000000',
  },
}
SCSS
$custom: #8e68ea;
$custom-light: #b494f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e68ea",
  "rgb": {
    "r": 142,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 257.538,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61832,
    "c": 0.18844,
    "h": 293.6
  },
  "luminance": 0.21592
}

Semantic roles & 50–950 ramp

primary
#8E68EA
secondary
#E0ECC2
accent
#D80E9D
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8E68EA

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

Preview Lab → · Contrast checker → · Palette generator →

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