#8E71FC#8E71FC

#8E71FC is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.5% C 0.199 H 289.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8E71FC
RGBrgb(142, 113, 252)
HSLhsl(253, 96%, 72%)
HSVhsv(253, 55%, 99%)
CMYKcmyk(43.7%, 55.2%, 0%, 1.2%)
CIE-LABlab(56.67, 43.86, -65.81)
CIE-LCHlch(56.67, 79.09, 303.68°)
OKLaboklab(64.46% 0.0654 -0.1875)
OKLCHoklch(64.46% 0.199 289.2)
XYZxyz(34.6262, 24.5881, 94.9981)
Luminance0.2459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E71FC #DFFC71
analogous
#719AFC #8E71FC #D471FC
triadic
#8E71FC #FC8E71 #71FC8E
tetradic
#8E71FC #FC719A #DFFC71 #71FCD4
square
#8E71FC #FC719A #DFFC71 #71FCD4
split-complementary
#8E71FC #FCD471 #9AFC71
monochromatic
#3605EE #5E35FB #8E71FC #BEADFD #E7E1FE

Accessibility & contrast

On white

3.55
#8E71FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8E71FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E71FC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E71FC#FFFFFF#000000##000000
##8E71FC1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#218BFF
Deuteranopia (green-blind)
#2685F9
Tritanopia (blue-blind)
#6D8FAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8e71fc;
/* rgb */ color: rgb(142, 113, 252);
/* oklch */ color: oklch(64.5% 0.199 289.2);
Tailwind
colors: {
  custom: {
    50: '#b59afe',
    500: '#8e71fc',
    950: '#000000',
  },
}
SCSS
$custom: #8e71fc;
$custom-light: #b59afe;
$custom-dark: #000000;
JSON
{
  "hex": "#8e71fc",
  "rgb": {
    "r": 142,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 252.518,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64465,
    "c": 0.19855,
    "h": 289.2
  },
  "luminance": 0.24589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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