#8766CB#8766CB

#8766CB is a mid, vivid violet. Relative luminance 0.190; OKLCH L 58.9% C 0.151 H 296.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8766CB
RGBrgb(135, 102, 203)
HSLhsl(260, 49%, 60%)
HSVhsv(260, 50%, 80%)
CMYKcmyk(33.5%, 49.8%, 0%, 20.4%)
CIE-LABlab(50.65, 35.30, -47.96)
CIE-LCHlch(50.65, 59.55, 306.35°)
OKLaboklab(58.9% 0.0676 -0.1353)
OKLCHoklch(58.9% 0.151 296.5)
XYZxyz(25.5199, 18.9651, 58.8044)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8766CB #AACB66
analogous
#6678CB #8766CB #BA66CB
triadic
#8766CB #CB8766 #66CB87
tetradic
#8766CB #CB6678 #AACB66 #66CBBA
square
#8766CB #CB6678 #AACB66 #66CBBA
split-complementary
#8766CB #CBBA66 #78CB66
monochromatic
#4C2E88 #653EB6 #8766CB #AB94DB #CFC1EA

Accessibility & contrast

On white

4.38
#8766CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8766CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8766CB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8766CB#FFFFFF#000000##000000
##8766CB1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4279CF
Deuteranopia (green-blind)
#4977C9
Tritanopia (blue-blind)
#78798F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8766cb;
/* rgb */ color: rgb(135, 102, 203);
/* oklch */ color: oklch(58.9% 0.151 296.5);
Tailwind
colors: {
  custom: {
    50: '#ad92db',
    500: '#8766cb',
    950: '#000000',
  },
}
SCSS
$custom: #8766cb;
$custom-light: #ad92db;
$custom-dark: #000000;
JSON
{
  "hex": "#8766cb",
  "rgb": {
    "r": 135,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 259.604,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58902,
    "c": 0.15127,
    "h": 296.5
  },
  "luminance": 0.18965
}

Semantic roles & 50–950 ramp

primary
#8766CB
secondary
#CDDAB3
accent
#D94FAC
background
#FAF9FD
surface
#F5F1FB
border
#CFCBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8766CB

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

Preview Lab → · Contrast checker → · Palette generator →

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