#8766EF#8766EF

#8766EF is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.2% C 0.197 H 290.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8766EF
RGBrgb(135, 102, 239)
HSLhsl(254, 81%, 67%)
HSVhsv(254, 57%, 94%)
CMYKcmyk(43.5%, 57.3%, 0%, 6.3%)
CIE-LABlab(52.82, 44.98, -64.83)
CIE-LCHlch(52.82, 78.90, 304.76°)
OKLaboklab(61.21% 0.069 -0.1848)
OKLCHoklch(61.21% 0.197 290.5)
XYZxyz(30.3187, 20.8846, 84.0783)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8766EF #CEEF66
analogous
#6689EF #8766EF #CC66EF
triadic
#8766EF #EF8766 #66EF87
tetradic
#8766EF #EF6689 #CEEF66 #66EFCC
square
#8766EF #EF6689 #CEEF66 #66EFCC
split-complementary
#8766EF #EFCC66 #89EF66
monochromatic
#3F15C6 #5C2FE9 #8766EF #B29DF5 #DED5FB

Accessibility & contrast

On white

4.06
#8766EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8766EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8766EF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8766EF#FFFFFF#000000##000000
##8766EF1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F4
Deuteranopia (green-blind)
#137BEC
Tritanopia (blue-blind)
#6884A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8766ef;
/* rgb */ color: rgb(135, 102, 239);
/* oklch */ color: oklch(61.2% 0.197 290.5);
Tailwind
colors: {
  custom: {
    50: '#b093f5',
    500: '#8766ef',
    950: '#000000',
  },
}
SCSS
$custom: #8766ef;
$custom-light: #b093f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8766ef",
  "rgb": {
    "r": 135,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 254.453,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61213,
    "c": 0.19727,
    "h": 290.5
  },
  "luminance": 0.20886
}

Semantic roles & 50–950 ramp

primary
#8766EF
secondary
#E4EEC2
accent
#DD08AA
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8766EF

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

Preview Lab → · Contrast checker → · Palette generator →

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