#8766EA#8766EA

#8766EA is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.9% C 0.191 H 291.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8766EA
RGBrgb(135, 102, 234)
HSLhsl(255, 76%, 66%)
HSVhsv(255, 56%, 92%)
CMYKcmyk(42.3%, 56.4%, 0%, 8.2%)
CIE-LABlab(52.50, 43.61, -62.55)
CIE-LCHlch(52.50, 76.25, 304.89°)
OKLaboklab(60.87% 0.069 -0.1781)
OKLCHoklch(60.87% 0.191 291.2)
XYZxyz(29.5902, 20.5932, 80.2418)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8766EA #C9EA66
analogous
#6687EA #8766EA #C966EA
triadic
#8766EA #EA8766 #66EA87
tetradic
#8766EA #EA6687 #C9EA66 #66EAC9
square
#8766EA #EA6687 #C9EA66 #66EAC9
split-complementary
#8766EA #EAC966 #87EA66
monochromatic
#421ABC #5D30E3 #8766EA #B19CF1 #DBD2F9

Accessibility & contrast

On white

4.10
#8766EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8766EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8766EA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8766EA#FFFFFF#000000##000000
##8766EA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#167FEE
Deuteranopia (green-blind)
#227AE7
Tritanopia (blue-blind)
#6B839E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8766ea;
/* rgb */ color: rgb(135, 102, 234);
/* oklch */ color: oklch(60.9% 0.191 291.2);
Tailwind
colors: {
  custom: {
    50: '#b093f1',
    500: '#8766ea',
    950: '#000000',
  },
}
SCSS
$custom: #8766ea;
$custom-light: #b093f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8766ea",
  "rgb": {
    "r": 135,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 255,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60873,
    "c": 0.19102,
    "h": 291.2
  },
  "luminance": 0.20594
}

Semantic roles & 50–950 ramp

primary
#8766EA
secondary
#E1ECC0
accent
#D80DA5
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8766EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8766EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva