#8766FA#8766FA

#8766FA is a mid, highly saturated violet. Relative luminance 0.216; OKLCH L 62.0% C 0.211 H 289.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8766FA
RGBrgb(135, 102, 250)
HSLhsl(253, 94%, 69%)
HSVhsv(253, 59%, 98%)
CMYKcmyk(46%, 59.2%, 0%, 2%)
CIE-LABlab(53.55, 48.02, -69.78)
CIE-LCHlch(53.55, 84.70, 304.54°)
OKLaboklab(61.98% 0.0687 -0.1994)
OKLCHoklch(61.98% 0.211 289)
XYZxyz(31.9934, 21.5545, 92.8986)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8766FA #D9FA66
analogous
#668FFA #8766FA #D166FA
triadic
#8766FA #FA8766 #66FA87
tetradic
#8766FA #FA668F #D9FA66 #66FAD1
square
#8766FA #FA668F #D9FA66 #66FAD1
split-complementary
#8766FA #FAD166 #8FFA66
monochromatic
#3707DE #592BF8 #8766FA #B5A1FC #E4DDFE

Accessibility & contrast

On white

3.95
#8766FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8766FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8766FA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8766FA#FFFFFF#000000##000000
##8766FA1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#007CF7
Tritanopia (blue-blind)
#6288A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8766fa;
/* rgb */ color: rgb(135, 102, 250);
/* oklch */ color: oklch(62.0% 0.211 289.0);
Tailwind
colors: {
  custom: {
    50: '#b193fd',
    500: '#8766fa',
    950: '#000000',
  },
}
SCSS
$custom: #8766fa;
$custom-light: #b193fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8766fa",
  "rgb": {
    "r": 135,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 253.378,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61978,
    "c": 0.21086,
    "h": 289
  },
  "luminance": 0.21556
}

Semantic roles & 50–950 ramp

primary
#8766FA
secondary
#EAF4C8
accent
#E600B2
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #8766FA

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

Preview Lab → · Contrast checker → · Palette generator →

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