#8D66EA#8D66EA

#8D66EA is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.4% C 0.191 H 293.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8D66EA
RGBrgb(141, 102, 234)
HSLhsl(258, 76%, 66%)
HSVhsv(258, 56%, 92%)
CMYKcmyk(39.7%, 56.4%, 0%, 8.2%)
CIE-LABlab(53.06, 44.93, -61.61)
CIE-LCHlch(53.06, 76.25, 306.10°)
OKLaboklab(61.42% 0.0766 -0.1752)
OKLCHoklch(61.42% 0.191 293.6)
XYZxyz(30.5832, 21.1052, 80.2883)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D66EA #C3EA66
analogous
#6681EA #8D66EA #CF66EA
triadic
#8D66EA #EA8D66 #66EA8D
tetradic
#8D66EA #EA6681 #C3EA66 #66EACF
square
#8D66EA #EA6681 #C3EA66 #66EACF
split-complementary
#8D66EA #EACF66 #81EA66
monochromatic
#4A1ABC #6530E3 #8D66EA #B59CF1 #DDD2F9

Accessibility & contrast

On white

4.02
#8D66EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#8D66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D66EA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D66EA#FFFFFF#000000##000000
##8D66EA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C80EE
Deuteranopia (green-blind)
#2B7CE7
Tritanopia (blue-blind)
#75829E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d66ea;
/* rgb */ color: rgb(141, 102, 234);
/* oklch */ color: oklch(61.4% 0.191 293.6);
Tailwind
colors: {
  custom: {
    50: '#b493f1',
    500: '#8d66ea',
    950: '#000000',
  },
}
SCSS
$custom: #8d66ea;
$custom-light: #b493f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d66ea",
  "rgb": {
    "r": 141,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 257.727,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61422,
    "c": 0.1912,
    "h": 293.6
  },
  "luminance": 0.21106
}

Semantic roles & 50–950 ramp

primary
#8D66EA
secondary
#DFECC0
accent
#D80D9C
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8D66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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