#8771EA#8771EA

#8771EA is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.7% C 0.176 H 288.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8771EA
RGBrgb(135, 113, 234)
HSLhsl(251, 74%, 68%)
HSVhsv(251, 52%, 92%)
CMYKcmyk(42.3%, 51.7%, 0%, 8.2%)
CIE-LABlab(54.97, 37.32, -58.58)
CIE-LCHlch(54.97, 69.46, 302.50°)
OKLaboklab(62.7% 0.0562 -0.1664)
OKLCHoklch(62.7% 0.176 288.6)
XYZxyz(30.7439, 22.9006, 80.6263)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8771EA #D4EA71
analogous
#7197EA #8771EA #C371EA
triadic
#8771EA #EA8771 #71EA87
tetradic
#8771EA #EA7197 #D4EA71 #71EAC3
square
#8771EA #EA7197 #D4EA71 #71EAC3
split-complementary
#8771EA #EAC371 #97EA71
monochromatic
#3B1DC4 #5A3CE2 #8771EA #B4A6F2 #E1DCFA

Accessibility & contrast

On white

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

On black

5.58
#8771EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8771EA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8771EA#FFFFFF#000000##000000
##8771EA1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A86EE
Deuteranopia (green-blind)
#3B81E7
Tritanopia (blue-blind)
#6A8AA3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8771ea;
/* rgb */ color: rgb(135, 113, 234);
/* oklch */ color: oklch(62.7% 0.176 288.6);
Tailwind
colors: {
  custom: {
    50: '#af9af1',
    500: '#8771ea',
    950: '#000000',
  },
}
SCSS
$custom: #8771ea;
$custom-light: #af9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#8771ea",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 250.909,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62703,
    "c": 0.17565,
    "h": 288.6
  },
  "luminance": 0.22902
}

Semantic roles & 50–950 ramp

primary
#8771EA
secondary
#E7EEC9
accent
#D60FB2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8771EA

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

Preview Lab → · Contrast checker → · Palette generator →

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