#8766E2#8766E2

#8766E2 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.3% C 0.181 H 292.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8766E2
RGBrgb(135, 102, 226)
HSLhsl(256, 68%, 64%)
HSVhsv(256, 55%, 89%)
CMYKcmyk(40.3%, 54.9%, 0%, 11.4%)
CIE-LABlab(52.00, 41.43, -58.86)
CIE-LCHlch(52.00, 71.98, 305.14°)
OKLaboklab(60.34% 0.0689 -0.1673)
OKLCHoklch(60.34% 0.181 292.4)
XYZxyz(28.4668, 20.1439, 74.3251)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8766E2 #C1E266
analogous
#6683E2 #8766E2 #C566E2
triadic
#8766E2 #E28766 #66E287
tetradic
#8766E2 #E26683 #C1E266 #66E2C5
square
#8766E2 #E26683 #C1E266 #66E2C5
split-complementary
#8766E2 #E2C566 #83E266
monochromatic
#4621AD #5F33D8 #8766E2 #AF99EC #D8CDF6

Accessibility & contrast

On white

4.18
#8766E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8766E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8766E2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8766E2#FFFFFF#000000##000000
##8766E21.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#287EE6
Deuteranopia (green-blind)
#307ADF
Tritanopia (blue-blind)
#6F809A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8766e2;
/* rgb */ color: rgb(135, 102, 226);
/* oklch */ color: oklch(60.3% 0.181 292.4);
Tailwind
colors: {
  custom: {
    50: '#af92ec',
    500: '#8766e2',
    950: '#000000',
  },
}
SCSS
$custom: #8766e2;
$custom-light: #af92ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8766e2",
  "rgb": {
    "r": 135,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 255.968,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60342,
    "c": 0.18091,
    "h": 292.4
  },
  "luminance": 0.20145
}

Semantic roles & 50–950 ramp

primary
#8766E2
secondary
#DCE7BC
accent
#D0159E
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8766E2

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

Preview Lab → · Contrast checker → · Palette generator →

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