#8766BF#8766BF

#8766BF is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.2% C 0.136 H 299.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8766BF
RGBrgb(135, 102, 191)
HSLhsl(262, 41%, 57%)
HSVhsv(262, 47%, 75%)
CMYKcmyk(29.3%, 46.6%, 0%, 25.1%)
CIE-LABlab(50.00, 32.20, -42.11)
CIE-LCHlch(50.00, 53.01, 307.41°)
OKLaboklab(58.2% 0.0663 -0.1182)
OKLCHoklch(58.2% 0.136 299.3)
XYZxyz(24.1448, 18.4151, 51.5625)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8766BF #9EBF66
analogous
#6672BF #8766BF #B366BF
triadic
#8766BF #BF8766 #66BF87
tetradic
#8766BF #BF6672 #9EBF66 #66BFB3
square
#8766BF #BF6672 #9EBF66 #66BFB3
split-complementary
#8766BF #BFB366 #72BF66
monochromatic
#4C3278 #6844A3 #8766BF #A991D1 #CBBCE3

Accessibility & contrast

On white

4.48
#8766BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8766BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8766BF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8766BF#FFFFFF#000000##000000
##8766BF1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B77C2
Deuteranopia (green-blind)
#5276BD
Tritanopia (blue-blind)
#7C7689
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8766bf;
/* rgb */ color: rgb(135, 102, 191);
/* oklch */ color: oklch(58.2% 0.136 299.3);
Tailwind
colors: {
  custom: {
    50: '#ac92d3',
    500: '#8766bf',
    950: '#000000',
  },
}
SCSS
$custom: #8766bf;
$custom-light: #ac92d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8766bf",
  "rgb": {
    "r": 135,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 262.247,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58204,
    "c": 0.13551,
    "h": 299.3
  },
  "luminance": 0.18415
}

Semantic roles & 50–950 ramp

primary
#8766BF
secondary
#C5D2AE
accent
#D157A4
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #8766BF

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

Preview Lab → · Contrast checker → · Palette generator →

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