#8771EB#8771EB

#8771EB is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.8% C 0.177 H 288.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8771EB
RGBrgb(135, 113, 235)
HSLhsl(251, 75%, 68%)
HSVhsv(251, 52%, 92%)
CMYKcmyk(42.6%, 51.9%, 0%, 7.8%)
CIE-LABlab(55.03, 37.60, -59.04)
CIE-LCHlch(55.03, 70.00, 302.49°)
OKLaboklab(62.77% 0.0562 -0.1678)
OKLCHoklch(62.77% 0.177 288.5)
XYZxyz(30.8880, 22.9582, 81.3851)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8771EB #D5EB71
analogous
#7198EB #8771EB #C471EB
triadic
#8771EB #EB8771 #71EB87
tetradic
#8771EB #EB7198 #D5EB71 #71EBC4
square
#8771EB #EB7198 #D5EB71 #71EBC4
split-complementary
#8771EB #EBC471 #98EB71
monochromatic
#3A1CC6 #5A3BE3 #8771EB #B4A7F3 #E2DCFA

Accessibility & contrast

On white

3.76
#8771EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#8771EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8771EB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8771EB#FFFFFF#000000##000000
##8771EB1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EF
Deuteranopia (green-blind)
#3A81E8
Tritanopia (blue-blind)
#6A8BA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8771eb;
/* rgb */ color: rgb(135, 113, 235);
/* oklch */ color: oklch(62.8% 0.177 288.5);
Tailwind
colors: {
  custom: {
    50: '#af9af2',
    500: '#8771eb',
    950: '#000000',
  },
}
SCSS
$custom: #8771eb;
$custom-light: #af9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8771eb",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 250.82,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62766,
    "c": 0.17696,
    "h": 288.5
  },
  "luminance": 0.22959
}

Semantic roles & 50–950 ramp

primary
#8771EB
secondary
#E8EEC9
accent
#D70EB3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8771EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8771EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva