#8771DF#8771DF

#8771DF is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.0% C 0.161 H 290.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8771DF
RGBrgb(135, 113, 223)
HSLhsl(252, 63%, 66%)
HSVhsv(252, 49%, 87%)
CMYKcmyk(39.5%, 49.3%, 0%, 12.5%)
CIE-LABlab(54.33, 34.27, -53.43)
CIE-LCHlch(54.33, 63.48, 302.68°)
OKLaboklab(62.02% 0.0554 -0.1513)
OKLCHoklch(62.02% 0.161 290.1)
XYZxyz(29.2124, 22.2880, 72.5606)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8771DF #C9DF71
analogous
#7192DF #8771DF #BE71DF
triadic
#8771DF #DF8771 #71DF87
tetradic
#8771DF #DF7192 #C9DF71 #71DFBE
square
#8771DF #DF7192 #C9DF71 #71DFBE
split-complementary
#8771DF #DFBE71 #92DF71
monochromatic
#4227AE #5D3FD4 #8771DF #B1A3EA #DBD5F6

Accessibility & contrast

On white

3.85
#8771DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#8771DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8771DF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8771DF#FFFFFF#000000##000000
##8771DF1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4584E3
Deuteranopia (green-blind)
#477FDC
Tritanopia (blue-blind)
#6F879E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8771df;
/* rgb */ color: rgb(135, 113, 223);
/* oklch */ color: oklch(62.0% 0.161 290.1);
Tailwind
colors: {
  custom: {
    50: '#ae9ae9',
    500: '#8771df',
    950: '#000000',
  },
}
SCSS
$custom: #8771df;
$custom-light: #ae9ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#8771df",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 252,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6202,
    "c": 0.16113,
    "h": 290.1
  },
  "luminance": 0.22289
}

Semantic roles & 50–950 ramp

primary
#8771DF
secondary
#E1E8C4
accent
#CB1BA8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8771DF

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

Preview Lab → · Contrast checker → · Palette generator →

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