#8871FC#8871FC

#8871FC is a light, vivid blue. Relative luminance 0.241; OKLCH L 64.0% C 0.199 H 287.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8871FC
RGBrgb(136, 113, 252)
HSLhsl(250, 96%, 72%)
HSVhsv(250, 55%, 99%)
CMYKcmyk(46%, 55.2%, 0%, 1.2%)
CIE-LABlab(56.16, 42.59, -66.67)
CIE-LCHlch(56.16, 79.11, 302.57°)
OKLaboklab(63.96% 0.058 -0.1902)
OKLCHoklch(63.96% 0.199 287)
XYZxyz(33.6241, 24.0713, 94.9512)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8871FC #E5FC71
analogous
#71A0FC #8871FC #CE71FC
triadic
#8871FC #FC8871 #71FC88
tetradic
#8871FC #FC71A0 #E5FC71 #71FCCE
square
#8871FC #FC71A0 #E5FC71 #71FCCE
split-complementary
#8871FC #FCCE71 #A0FC71
monochromatic
#2C05EE #5635FB #8871FC #BAADFD #E6E1FE

Accessibility & contrast

On white

3.61
#8871FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8871FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8871FC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8871FC#FFFFFF#000000##000000
##8871FC1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C8AFF
Deuteranopia (green-blind)
#1A83F9
Tritanopia (blue-blind)
#6290AC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8871fc;
/* rgb */ color: rgb(136, 113, 252);
/* oklch */ color: oklch(64.0% 0.199 287.0);
Tailwind
colors: {
  custom: {
    50: '#b29afe',
    500: '#8871fc',
    950: '#000000',
  },
}
SCSS
$custom: #8871fc;
$custom-light: #b29afe;
$custom-dark: #000000;
JSON
{
  "hex": "#8871fc",
  "rgb": {
    "r": 136,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 249.928,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.63961,
    "c": 0.19882,
    "h": 287
  },
  "luminance": 0.24073
}

Semantic roles & 50–950 ramp

primary
#8871FC
secondary
#F0F6D3
accent
#E600C0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8871FC

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

Preview Lab → · Contrast checker → · Palette generator →

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