#8E71FB#8E71FB

#8E71FB is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.4% C 0.197 H 289.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8E71FB
RGBrgb(142, 113, 251)
HSLhsl(253, 95%, 71%)
HSVhsv(253, 55%, 98%)
CMYKcmyk(43.4%, 55%, 0%, 1.6%)
CIE-LABlab(56.61, 43.59, -65.36)
CIE-LCHlch(56.61, 78.56, 303.70°)
OKLaboklab(64.4% 0.0653 -0.1862)
OKLCHoklch(64.4% 0.197 289.3)
XYZxyz(34.4681, 24.5248, 94.1658)
Luminance0.2453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E71FB #DEFB71
analogous
#7199FB #8E71FB #D371FB
triadic
#8E71FB #FB8E71 #71FB8E
tetradic
#8E71FB #FB7199 #DEFB71 #71FBD3
square
#8E71FB #FB7199 #DEFB71 #71FBD3
split-complementary
#8E71FB #FBD371 #99FB71
monochromatic
#3707EB #5F35F9 #8E71FB #BDADFD #E7E1FE

Accessibility & contrast

On white

3.56
#8E71FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8E71FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E71FB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E71FB#FFFFFF#000000##000000
##8E71FB1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#248BFF
Deuteranopia (green-blind)
#2884F8
Tritanopia (blue-blind)
#6E8FAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8e71fb;
/* rgb */ color: rgb(142, 113, 251);
/* oklch */ color: oklch(64.4% 0.197 289.3);
Tailwind
colors: {
  custom: {
    50: '#b59afd',
    500: '#8e71fb',
    950: '#000000',
  },
}
SCSS
$custom: #8e71fb;
$custom-light: #b59afd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e71fb",
  "rgb": {
    "r": 142,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 252.609,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64399,
    "c": 0.19729,
    "h": 289.3
  },
  "luminance": 0.24526
}

Semantic roles & 50–950 ramp

primary
#8E71FB
secondary
#EEF6D2
accent
#E600B5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8E71FB

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

Preview Lab → · Contrast checker → · Palette generator →

#8E71FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva