#8766CA#8766CA

#8766CA is a mid, vivid violet. Relative luminance 0.189; OKLCH L 58.8% C 0.150 H 296.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8766CA
RGBrgb(135, 102, 202)
HSLhsl(260, 49%, 60%)
HSVhsv(260, 50%, 79%)
CMYKcmyk(33.2%, 49.5%, 0%, 20.8%)
CIE-LABlab(50.59, 35.03, -47.48)
CIE-LCHlch(50.59, 59.01, 306.42°)
OKLaboklab(58.84% 0.0675 -0.1339)
OKLCHoklch(58.84% 0.15 296.8)
XYZxyz(25.4011, 18.9176, 58.1789)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8766CA #A9CA66
analogous
#6677CA #8766CA #B966CA
triadic
#8766CA #CA8766 #66CA87
tetradic
#8766CA #CA6677 #A9CA66 #66CAB9
square
#8766CA #CA6677 #A9CA66 #66CAB9
split-complementary
#8766CA #CAB966 #77CA66
monochromatic
#4C2F87 #653EB4 #8766CA #AB93DA #CEC1E9

Accessibility & contrast

On white

4.39
#8766CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8766CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8766CA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8766CA#FFFFFF#000000##000000
##8766CA1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4379CE
Deuteranopia (green-blind)
#4A77C8
Tritanopia (blue-blind)
#78798E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8766ca;
/* rgb */ color: rgb(135, 102, 202);
/* oklch */ color: oklch(58.8% 0.150 296.8);
Tailwind
colors: {
  custom: {
    50: '#ad92da',
    500: '#8766ca',
    950: '#000000',
  },
}
SCSS
$custom: #8766ca;
$custom-light: #ad92da;
$custom-dark: #000000;
JSON
{
  "hex": "#8766ca",
  "rgb": {
    "r": 135,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 259.8,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58842,
    "c": 0.14996,
    "h": 296.8
  },
  "luminance": 0.18918
}

Semantic roles & 50–950 ramp

primary
#8766CA
secondary
#CCD9B2
accent
#D850AB
background
#FAF9FD
surface
#F5F1FB
border
#CFCBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #8766CA

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

Preview Lab → · Contrast checker → · Palette generator →

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