#8871F9#8871F9

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

Color values

HEX#8871F9
RGBrgb(136, 113, 249)
HSLhsl(250, 92%, 71%)
HSVhsv(250, 55%, 98%)
CMYKcmyk(45.4%, 54.6%, 0%, 2.4%)
CIE-LABlab(55.97, 41.75, -65.31)
CIE-LCHlch(55.97, 77.51, 302.59°)
OKLaboklab(63.76% 0.058 -0.1862)
OKLCHoklch(63.76% 0.195 287.3)
XYZxyz(33.1524, 23.8827, 92.4672)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8871F9 #E2F971
analogous
#719EF9 #8871F9 #CC71F9
triadic
#8871F9 #F98871 #71F988
tetradic
#8871F9 #F9719E #E2F971 #71F9CC
square
#8871F9 #F9719E #E2F971 #71F9CC
split-complementary
#8871F9 #F9CC71 #9EF971
monochromatic
#2F0AE6 #5736F7 #8871F9 #B9ACFB #E6E2FE

Accessibility & contrast

On white

3.64
#8871F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#8871F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8871F9
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8871F9#FFFFFF#000000##000000
##8871F91.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2489FE
Deuteranopia (green-blind)
#2382F6
Tritanopia (blue-blind)
#648FAA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8871f9;
/* rgb */ color: rgb(136, 113, 249);
/* oklch */ color: oklch(63.8% 0.195 287.3);
Tailwind
colors: {
  custom: {
    50: '#b19afc',
    500: '#8871f9',
    950: '#000000',
  },
}
SCSS
$custom: #8871f9;
$custom-light: #b19afc;
$custom-dark: #000000;
JSON
{
  "hex": "#8871f9",
  "rgb": {
    "r": 136,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 250.147,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63761,
    "c": 0.19499,
    "h": 287.3
  },
  "luminance": 0.23884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8871F9

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

Preview Lab → · Contrast checker → · Palette generator →

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