#8766DA#8766DA

#8766DA is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.8% C 0.171 H 293.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8766DA
RGBrgb(135, 102, 218)
HSLhsl(257, 61%, 63%)
HSVhsv(257, 53%, 85%)
CMYKcmyk(38.1%, 53.2%, 0%, 14.5%)
CIE-LABlab(51.51, 39.27, -55.12)
CIE-LCHlch(51.51, 67.68, 305.47°)
OKLaboklab(59.83% 0.0686 -0.1563)
OKLCHoklch(59.83% 0.171 293.7)
XYZxyz(27.3946, 19.7150, 68.6781)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8766DA #B9DA66
analogous
#667FDA #8766DA #C166DA
triadic
#8766DA #DA8766 #66DA87
tetradic
#8766DA #DA667F #B9DA66 #66DAC1
square
#8766DA #DA667F #B9DA66 #66DAC1
split-complementary
#8766DA #DAC166 #7FDA66
monochromatic
#49269F #6035CE #8766DA #AE97E6 #D4C9F2

Accessibility & contrast

On white

4.25
#8766DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8766DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8766DA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8766DA#FFFFFF#000000##000000
##8766DA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#337CDE
Deuteranopia (green-blind)
#3B79D7
Tritanopia (blue-blind)
#727E96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8766da;
/* rgb */ color: rgb(135, 102, 218);
/* oklch */ color: oklch(59.8% 0.171 293.7);
Tailwind
colors: {
  custom: {
    50: '#ae92e6',
    500: '#8766da',
    950: '#000000',
  },
}
SCSS
$custom: #8766da;
$custom-light: #ae92e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8766da",
  "rgb": {
    "r": 135,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 257.069,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59826,
    "c": 0.1707,
    "h": 293.7
  },
  "luminance": 0.19716
}

Semantic roles & 50–950 ramp

primary
#8766DA
secondary
#D7E3B9
accent
#C91D98
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8766DA

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

Preview Lab → · Contrast checker → · Palette generator →

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