#8766A5#8766A5

#8766A5 is a mid, moderate violet. Relative luminance 0.174; OKLCH L 56.8% C 0.101 H 307.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8766A5
RGBrgb(135, 102, 165)
HSLhsl(271, 26%, 52%)
HSVhsv(271, 38%, 65%)
CMYKcmyk(18.2%, 38.2%, 0%, 35.3%)
CIE-LABlab(48.72, 25.83, -28.98)
CIE-LCHlch(48.72, 38.82, 311.71°)
OKLaboklab(56.83% 0.0616 -0.0802)
OKLCHoklch(56.83% 0.101 307.5)
XYZxyz(21.5333, 17.3704, 37.8085)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8766A5 #84A566
analogous
#6866A5 #8766A5 #A566A3
triadic
#8766A5 #A58766 #66A587
tetradic
#8766A5 #A56866 #84A566 #66A3A5
square
#8766A5 #A56866 #84A566 #66A3A5
split-complementary
#8766A5 #A3A566 #66A568
monochromatic
#49365B #684C82 #8766A5 #A58DBC #C3B3D2

Accessibility & contrast

On white

4.69
#8766A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8766A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8766A5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8766A5#FFFFFF#000000##FFFFFF
##8766A51.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5972A7
Deuteranopia (green-blind)
#6074A3
Tritanopia (blue-blind)
#836F7E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8766a5;
/* rgb */ color: rgb(135, 102, 165);
/* oklch */ color: oklch(56.8% 0.101 307.5);
Tailwind
colors: {
  custom: {
    50: '#ab92c0',
    500: '#8766a5',
    950: '#000000',
  },
}
SCSS
$custom: #8766a5;
$custom-light: #ab92c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8766a5",
  "rgb": {
    "r": 135,
    "g": 102,
    "b": 165
  },
  "hsl": {
    "h": 271.429,
    "s": 25.926,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56829,
    "c": 0.10111,
    "h": 307.5
  },
  "luminance": 0.1737
}

Semantic roles & 50–950 ramp

primary
#8766A5
secondary
#B3C1A6
accent
#C26592
background
#FAF9FB
surface
#F4F1F7
border
#CECBD0
text
#100D12
muted
#7F7E81

Preview Lab

Preview with #8766A5

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

Preview Lab → · Contrast checker → · Palette generator →

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