#8766EB#8766EB

#8766EB is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.9% C 0.192 H 291.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8766EB
RGBrgb(135, 102, 235)
HSLhsl(255, 77%, 66%)
HSVhsv(255, 57%, 92%)
CMYKcmyk(42.6%, 56.6%, 0%, 7.8%)
CIE-LABlab(52.57, 43.88, -63.00)
CIE-LCHlch(52.57, 76.78, 304.86°)
OKLaboklab(60.94% 0.069 -0.1795)
OKLCHoklch(60.94% 0.192 291)
XYZxyz(29.7343, 20.6509, 81.0005)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8766EB #CAEB66
analogous
#6687EB #8766EB #C966EB
triadic
#8766EB #EB8766 #66EB87
tetradic
#8766EB #EB6687 #CAEB66 #66EBC9
square
#8766EB #EB6687 #CAEB66 #66EBC9
split-complementary
#8766EB #EBC966 #87EB66
monochromatic
#4219BE #5D30E4 #8766EB #B19CF2 #DCD2F9

Accessibility & contrast

On white

4.09
#8766EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8766EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8766EB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8766EB#FFFFFF#000000##000000
##8766EB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1380EF
Deuteranopia (green-blind)
#1F7BE8
Tritanopia (blue-blind)
#6A839F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8766eb;
/* rgb */ color: rgb(135, 102, 235);
/* oklch */ color: oklch(60.9% 0.192 291.0);
Tailwind
colors: {
  custom: {
    50: '#b093f2',
    500: '#8766eb',
    950: '#000000',
  },
}
SCSS
$custom: #8766eb;
$custom-light: #b093f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8766eb",
  "rgb": {
    "r": 135,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 254.887,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60941,
    "c": 0.19227,
    "h": 291
  },
  "luminance": 0.20652
}

Semantic roles & 50–950 ramp

primary
#8766EB
secondary
#E1ECC1
accent
#D90CA6
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8766EB

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

Preview Lab → · Contrast checker → · Palette generator →

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