#8766F8#8766F8

#8766F8 is a mid, highly saturated violet. Relative luminance 0.214; OKLCH L 61.8% C 0.208 H 289.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8766F8
RGBrgb(135, 102, 248)
HSLhsl(254, 91%, 69%)
HSVhsv(254, 59%, 97%)
CMYKcmyk(45.6%, 58.9%, 0%, 2.7%)
CIE-LABlab(53.42, 47.47, -68.88)
CIE-LCHlch(53.42, 83.65, 304.57°)
OKLaboklab(61.84% 0.0687 -0.1967)
OKLCHoklch(61.84% 0.208 289.3)
XYZxyz(31.6815, 21.4297, 91.2558)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8766F8 #D7F866
analogous
#668EF8 #8766F8 #D066F8
triadic
#8766F8 #F88766 #66F887
tetradic
#8766F8 #F8668E #D7F866 #66F8D0
square
#8766F8 #F8668E #D7F866 #66F8D0
split-complementary
#8766F8 #F8D066 #8EF866
monochromatic
#390ADA #592BF5 #8766F8 #B5A1FB #E3DBFD

Accessibility & contrast

On white

3.97
#8766F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8766F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8766F8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8766F8#FFFFFF#000000##000000
##8766F81.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#6487A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8766f8;
/* rgb */ color: rgb(135, 102, 248);
/* oklch */ color: oklch(61.8% 0.208 289.3);
Tailwind
colors: {
  custom: {
    50: '#b193fb',
    500: '#8766f8',
    950: '#000000',
  },
}
SCSS
$custom: #8766f8;
$custom-light: #b193fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8766f8",
  "rgb": {
    "r": 135,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 253.562,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61837,
    "c": 0.20841,
    "h": 289.3
  },
  "luminance": 0.21431
}

Semantic roles & 50–950 ramp

primary
#8766F8
secondary
#E9F3C7
accent
#E600B2
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #8766F8

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

Preview Lab → · Contrast checker → · Palette generator →

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