#8766CD#8766CD

#8766CD is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.0% C 0.154 H 296.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8766CD
RGBrgb(135, 102, 205)
HSLhsl(259, 51%, 60%)
HSVhsv(259, 50%, 80%)
CMYKcmyk(34.1%, 50.2%, 0%, 19.6%)
CIE-LABlab(50.76, 35.82, -48.93)
CIE-LCHlch(50.76, 60.64, 306.21°)
OKLaboklab(59.02% 0.0678 -0.1381)
OKLCHoklch(59.02% 0.154 296.1)
XYZxyz(25.7597, 19.0610, 60.0678)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8766CD #ACCD66
analogous
#6679CD #8766CD #BA66CD
triadic
#8766CD #CD8766 #66CD87
tetradic
#8766CD #CD6679 #ACCD66 #66CDBA
square
#8766CD #CD6679 #ACCD66 #66CDBA
split-complementary
#8766CD #CDBA66 #79CD66
monochromatic
#4B2D8B #643DB9 #8766CD #AB94DC #CFC2EB

Accessibility & contrast

On white

4.36
#8766CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8766CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8766CD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8766CD#FFFFFF#000000##000000
##8766CD1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079D1
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#777A90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8766cd;
/* rgb */ color: rgb(135, 102, 205);
/* oklch */ color: oklch(59.0% 0.154 296.1);
Tailwind
colors: {
  custom: {
    50: '#ad92dd',
    500: '#8766cd',
    950: '#000000',
  },
}
SCSS
$custom: #8766cd;
$custom-light: #ad92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8766cd",
  "rgb": {
    "r": 135,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 259.223,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59022,
    "c": 0.15388,
    "h": 296.1
  },
  "luminance": 0.19061
}

Semantic roles & 50–950 ramp

primary
#8766CD
secondary
#CEDBB4
accent
#BE278E
background
#FAF9FD
surface
#F5F1FB
border
#CFCBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8766CD

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

Preview Lab → · Contrast checker → · Palette generator →

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