#8E71FD#8E71FD

#8E71FD is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.5% C 0.200 H 289.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8E71FD
RGBrgb(142, 113, 253)
HSLhsl(252, 97%, 72%)
HSVhsv(252, 55%, 99%)
CMYKcmyk(43.9%, 55.3%, 0%, 0.8%)
CIE-LABlab(56.73, 44.14, -66.26)
CIE-LCHlch(56.73, 79.62, 303.67°)
OKLaboklab(64.53% 0.0654 -0.1888)
OKLCHoklch(64.53% 0.2 289.1)
XYZxyz(34.7851, 24.6516, 95.8349)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E71FD #E0FD71
analogous
#719AFD #8E71FD #D471FD
triadic
#8E71FD #FD8E71 #71FD8E
tetradic
#8E71FD #FD719A #E0FD71 #71FDD4
square
#8E71FD #FD719A #E0FD71 #71FDD4
split-complementary
#8E71FD #FDD471 #9AFD71
monochromatic
#3403F0 #5E35FC #8E71FD #BEADFE #E7E1FF

Accessibility & contrast

On white

3.54
#8E71FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#8E71FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E71FD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E71FD#FFFFFF#000000##000000
##8E71FD1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F8BFF
Deuteranopia (green-blind)
#2485FA
Tritanopia (blue-blind)
#6C90AC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8e71fd;
/* rgb */ color: rgb(142, 113, 253);
/* oklch */ color: oklch(64.5% 0.200 289.1);
Tailwind
colors: {
  custom: {
    50: '#b59aff',
    500: '#8e71fd',
    950: '#000000',
  },
}
SCSS
$custom: #8e71fd;
$custom-light: #b59aff;
$custom-dark: #000000;
JSON
{
  "hex": "#8e71fd",
  "rgb": {
    "r": 142,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 252.429,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64531,
    "c": 0.19981,
    "h": 289.1
  },
  "luminance": 0.24653
}

Semantic roles & 50–950 ramp

primary
#8E71FD
secondary
#EFF7D3
accent
#E600B6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8E71FD

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

Preview Lab → · Contrast checker → · Palette generator →

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