#8871FA#8871FA

#8871FA is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.8% C 0.196 H 287.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8871FA
RGBrgb(136, 113, 250)
HSLhsl(250, 93%, 71%)
HSVhsv(250, 55%, 98%)
CMYKcmyk(45.6%, 54.8%, 0%, 2%)
CIE-LABlab(56.03, 42.03, -65.76)
CIE-LCHlch(56.03, 78.05, 302.58°)
OKLaboklab(63.83% 0.058 -0.1875)
OKLCHoklch(63.83% 0.196 287.2)
XYZxyz(33.3088, 23.9452, 93.2908)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8871FA #E3FA71
analogous
#719EFA #8871FA #CC71FA
triadic
#8871FA #FA8871 #71FA88
tetradic
#8871FA #FA719E #E3FA71 #71FACC
square
#8871FA #FA719E #E3FA71 #71FACC
split-complementary
#8871FA #FACC71 #9EFA71
monochromatic
#2E08E8 #5636F8 #8871FA #BAACFC #E6E1FE

Accessibility & contrast

On white

3.63
#8871FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8871FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8871FA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8871FA#FFFFFF#000000##000000
##8871FA1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#218AFF
Deuteranopia (green-blind)
#2083F7
Tritanopia (blue-blind)
#638FAB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8871fa;
/* rgb */ color: rgb(136, 113, 250);
/* oklch */ color: oklch(63.8% 0.196 287.2);
Tailwind
colors: {
  custom: {
    50: '#b19afd',
    500: '#8871fa',
    950: '#000000',
  },
}
SCSS
$custom: #8871fa;
$custom-light: #b19afd;
$custom-dark: #000000;
JSON
{
  "hex": "#8871fa",
  "rgb": {
    "r": 136,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 250.073,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63827,
    "c": 0.19627,
    "h": 287.2
  },
  "luminance": 0.23947
}

Semantic roles & 50–950 ramp

primary
#8871FA
secondary
#EFF5D1
accent
#E600BF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8871FA

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

Preview Lab → · Contrast checker → · Palette generator →

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