#8E71FA#8E71FA

#8E71FA is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.3% C 0.196 H 289.5°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8E71FA
RGBrgb(142, 113, 250)
HSLhsl(253, 93%, 71%)
HSVhsv(253, 55%, 98%)
CMYKcmyk(43.2%, 54.8%, 0%, 2%)
CIE-LABlab(56.55, 43.31, -64.91)
CIE-LCHlch(56.55, 78.03, 303.71°)
OKLaboklab(64.33% 0.0653 -0.1848)
OKLCHoklch(64.33% 0.196 289.5)
XYZxyz(34.3109, 24.4620, 93.3378)
Luminance0.2446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E71FA #DDFA71
analogous
#7198FA #8E71FA #D271FA
triadic
#8E71FA #FA8E71 #71FA8E
tetradic
#8E71FA #FA7198 #DDFA71 #71FAD2
square
#8E71FA #FA7198 #DDFA71 #71FAD2
split-complementary
#8E71FA #FAD271 #98FA71
monochromatic
#3808E8 #5F36F8 #8E71FA #BDACFC #E7E1FE

Accessibility & contrast

On white

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

On black

5.89
#8E71FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E71FA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E71FA#FFFFFF#000000##000000
##8E71FA1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#268AFF
Deuteranopia (green-blind)
#2A84F7
Tritanopia (blue-blind)
#6E8FAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8e71fa;
/* rgb */ color: rgb(142, 113, 250);
/* oklch */ color: oklch(64.3% 0.196 289.5);
Tailwind
colors: {
  custom: {
    50: '#b59afd',
    500: '#8e71fa',
    950: '#000000',
  },
}
SCSS
$custom: #8e71fa;
$custom-light: #b59afd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e71fa",
  "rgb": {
    "r": 142,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 252.701,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.64333,
    "c": 0.19603,
    "h": 289.5
  },
  "luminance": 0.24463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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