#8766BB#8766BB

#8766BB is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.0% C 0.130 H 300.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8766BB
RGBrgb(135, 102, 187)
HSLhsl(263, 38%, 57%)
HSVhsv(263, 45%, 73%)
CMYKcmyk(27.8%, 45.5%, 0%, 26.7%)
CIE-LABlab(49.79, 31.19, -40.12)
CIE-LCHlch(49.79, 50.82, 307.86°)
OKLaboklab(57.98% 0.0657 -0.1124)
OKLCHoklch(57.98% 0.13 300.3)
XYZxyz(23.7106, 18.2414, 49.2759)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8766BB #9ABB66
analogous
#6670BB #8766BB #B266BB
triadic
#8766BB #BB8766 #66BB87
tetradic
#8766BB #BB6670 #9ABB66 #66BBB2
square
#8766BB #BB6670 #9ABB66 #66BBB2
split-complementary
#8766BB #BBB266 #70BB66
monochromatic
#4C3373 #68469E #8766BB #A890CE #C9BBE1

Accessibility & contrast

On white

4.52
#8766BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8766BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8766BB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8766BB#FFFFFF#000000##000000
##8766BB1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BE
Deuteranopia (green-blind)
#5576B9
Tritanopia (blue-blind)
#7D7587
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8766bb;
/* rgb */ color: rgb(135, 102, 187);
/* oklch */ color: oklch(58.0% 0.130 300.3);
Tailwind
colors: {
  custom: {
    50: '#ac92d0',
    500: '#8766bb',
    950: '#000000',
  },
}
SCSS
$custom: #8766bb;
$custom-light: #ac92d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8766bb",
  "rgb": {
    "r": 135,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 263.294,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5798,
    "c": 0.13021,
    "h": 300.3
  },
  "luminance": 0.18241
}

Semantic roles & 50–950 ramp

primary
#8766BB
secondary
#C2D0AD
accent
#CE59A1
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8766BB

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

Preview Lab → · Contrast checker → · Palette generator →

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