#8766DB#8766DB

#8766DB is a mid, vivid violet. Relative luminance 0.198; OKLCH L 59.9% C 0.172 H 293.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8766DB
RGBrgb(135, 102, 219)
HSLhsl(257, 62%, 63%)
HSVhsv(257, 53%, 86%)
CMYKcmyk(38.4%, 53.4%, 0%, 14.1%)
CIE-LABlab(51.57, 39.54, -55.59)
CIE-LCHlch(51.57, 68.22, 305.42°)
OKLaboklab(59.89% 0.0687 -0.1577)
OKLCHoklch(59.89% 0.172 293.5)
XYZxyz(27.5258, 19.7675, 69.3693)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8766DB #BADB66
analogous
#667FDB #8766DB #C166DB
triadic
#8766DB #DB8766 #66DB87
tetradic
#8766DB #DB667F #BADB66 #66DBC1
square
#8766DB #DB667F #BADB66 #66DBC1
split-complementary
#8766DB #DBC166 #7FDB66
monochromatic
#4926A1 #6034CF #8766DB #AE98E7 #D5C9F2

Accessibility & contrast

On white

4.24
#8766DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8766DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8766DB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8766DB#FFFFFF#000000##000000
##8766DB1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#327CDF
Deuteranopia (green-blind)
#3A79D8
Tritanopia (blue-blind)
#727E97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8766db;
/* rgb */ color: rgb(135, 102, 219);
/* oklch */ color: oklch(59.9% 0.172 293.5);
Tailwind
colors: {
  custom: {
    50: '#ae92e7',
    500: '#8766db',
    950: '#000000',
  },
}
SCSS
$custom: #8766db;
$custom-light: #ae92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8766db",
  "rgb": {
    "r": 135,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 256.923,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5989,
    "c": 0.17198,
    "h": 293.5
  },
  "luminance": 0.19768
}

Semantic roles & 50–950 ramp

primary
#8766DB
secondary
#D8E3B9
accent
#CA1C99
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8766DB

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

Preview Lab → · Contrast checker → · Palette generator →

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