#8C66EA#8C66EA

#8C66EA is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.3% C 0.191 H 293.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8C66EA
RGBrgb(140, 102, 234)
HSLhsl(257, 76%, 66%)
HSVhsv(257, 56%, 92%)
CMYKcmyk(40.2%, 56.4%, 0%, 8.2%)
CIE-LABlab(52.97, 44.71, -61.77)
CIE-LCHlch(52.97, 76.25, 305.90°)
OKLaboklab(61.33% 0.0753 -0.1757)
OKLCHoklch(61.33% 0.191 293.2)
XYZxyz(30.4139, 21.0179, 80.2804)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C66EA #C4EA66
analogous
#6682EA #8C66EA #CE66EA
triadic
#8C66EA #EA8C66 #66EA8C
tetradic
#8C66EA #EA6682 #C4EA66 #66EACE
square
#8C66EA #EA6682 #C4EA66 #66EACE
split-complementary
#8C66EA #EACE66 #82EA66
monochromatic
#481ABC #6430E3 #8C66EA #B49CF1 #DDD2F9

Accessibility & contrast

On white

4.04
#8C66EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8C66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C66EA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C66EA#FFFFFF#000000##000000
##8C66EA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B80EE
Deuteranopia (green-blind)
#2A7CE7
Tritanopia (blue-blind)
#73829E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8c66ea;
/* rgb */ color: rgb(140, 102, 234);
/* oklch */ color: oklch(61.3% 0.191 293.2);
Tailwind
colors: {
  custom: {
    50: '#b393f1',
    500: '#8c66ea',
    950: '#000000',
  },
}
SCSS
$custom: #8c66ea;
$custom-light: #b393f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c66ea",
  "rgb": {
    "r": 140,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 257.273,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61329,
    "c": 0.19115,
    "h": 293.2
  },
  "luminance": 0.21019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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