#8771F4#8771F4

#8771F4 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.3% C 0.189 H 287.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8771F4
RGBrgb(135, 113, 244)
HSLhsl(250, 86%, 70%)
HSVhsv(250, 54%, 96%)
CMYKcmyk(44.7%, 53.7%, 0%, 4.3%)
CIE-LABlab(55.58, 40.12, -63.18)
CIE-LCHlch(55.58, 74.84, 302.42°)
OKLaboklab(63.35% 0.0566 -0.1799)
OKLCHoklch(63.35% 0.189 287.5)
XYZxyz(32.2213, 23.4915, 88.4070)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8771F4 #DEF471
analogous
#719DF4 #8771F4 #C871F4
triadic
#8771F4 #F48771 #71F487
tetradic
#8771F4 #F4719D #DEF471 #71F4C8
square
#8771F4 #F4719D #DEF471 #71F4C8
split-complementary
#8771F4 #F4C871 #9DF471
monochromatic
#3311DA #5738F0 #8771F4 #B7AAF8 #E7E3FD

Accessibility & contrast

On white

3.69
#8771F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8771F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8771F4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8771F4#FFFFFF#000000##000000
##8771F41.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C88F8
Deuteranopia (green-blind)
#2C82F1
Tritanopia (blue-blind)
#658DA8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8771f4;
/* rgb */ color: rgb(135, 113, 244);
/* oklch */ color: oklch(63.3% 0.189 287.5);
Tailwind
colors: {
  custom: {
    50: '#b09af8',
    500: '#8771f4',
    950: '#000000',
  },
}
SCSS
$custom: #8771f4;
$custom-light: #b09af8;
$custom-dark: #000000;
JSON
{
  "hex": "#8771f4",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 250.076,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.63348,
    "c": 0.18864,
    "h": 287.5
  },
  "luminance": 0.23493
}

Semantic roles & 50–950 ramp

primary
#8771F4
secondary
#EDF3CE
accent
#E203BD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8771F4

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

Preview Lab → · Contrast checker → · Palette generator →

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