#8766BC#8766BC

#8766BC is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.0% C 0.132 H 300.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8766BC
RGBrgb(135, 102, 188)
HSLhsl(263, 39%, 57%)
HSVhsv(263, 46%, 74%)
CMYKcmyk(28.2%, 45.7%, 0%, 26.3%)
CIE-LABlab(49.84, 31.44, -40.62)
CIE-LCHlch(49.84, 51.37, 307.74°)
OKLaboklab(58.04% 0.0658 -0.1139)
OKLCHoklch(58.04% 0.132 300)
XYZxyz(23.8181, 18.2844, 49.8416)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8766BC #9BBC66
analogous
#6670BC #8766BC #B266BC
triadic
#8766BC #BC8766 #66BC87
tetradic
#8766BC #BC6670 #9BBC66 #66BCB2
square
#8766BC #BC6670 #9BBC66 #66BCB2
split-complementary
#8766BC #BCB266 #70BC66
monochromatic
#4C3375 #68469F #8766BC #A891CF #CABBE1

Accessibility & contrast

On white

4.51
#8766BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8766BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8766BC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8766BC#FFFFFF#000000##000000
##8766BC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BF
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#7D7588
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8766bc;
/* rgb */ color: rgb(135, 102, 188);
/* oklch */ color: oklch(58.0% 0.132 300.0);
Tailwind
colors: {
  custom: {
    50: '#ac92d0',
    500: '#8766bc',
    950: '#000000',
  },
}
SCSS
$custom: #8766bc;
$custom-light: #ac92d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8766bc",
  "rgb": {
    "r": 135,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 263.023,
    "s": 39.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58035,
    "c": 0.13154,
    "h": 300
  },
  "luminance": 0.18284
}

Semantic roles & 50–950 ramp

primary
#8766BC
secondary
#C3D0AD
accent
#CF59A2
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8766BC

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

Preview Lab → · Contrast checker → · Palette generator →

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