#8A71FE#8A71FE

#8A71FE is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.3% C 0.201 H 287.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8A71FE
RGBrgb(138, 113, 254)
HSLhsl(251, 99%, 72%)
HSVhsv(251, 56%, 100%)
CMYKcmyk(45.7%, 55.5%, 0%, 0.4%)
CIE-LABlab(56.45, 43.57, -67.29)
CIE-LCHlch(56.45, 80.16, 302.93°)
OKLaboklab(64.26% 0.0605 -0.1919)
OKLCHoklch(64.26% 0.201 287.5)
XYZxyz(34.2706, 24.3679, 96.6445)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71FE #E5FE71
analogous
#719FFE #8A71FE #D071FE
triadic
#8A71FE #FE8A71 #71FE8A
tetradic
#8A71FE #FE719F #E5FE71 #71FED0
square
#8A71FE #FE719F #E5FE71 #71FED0
split-complementary
#8A71FE #FED071 #9FFE71
monochromatic
#2C02F3 #5834FE #8A71FE #BCAEFE #E6E1FF

Accessibility & contrast

On white

3.58
#8A71FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8A71FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71FE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71FE#FFFFFF#000000##000000
##8A71FE1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#198BFF
Deuteranopia (green-blind)
#1984FB
Tritanopia (blue-blind)
#6590AD
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a71fe;
/* rgb */ color: rgb(138, 113, 254);
/* oklch */ color: oklch(64.3% 0.201 287.5);
Tailwind
colors: {
  custom: {
    50: '#b39aff',
    500: '#8a71fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a71fe;
$custom-light: #b39aff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71fe",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 250.638,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64261,
    "c": 0.20124,
    "h": 287.5
  },
  "luminance": 0.24369
}

Semantic roles & 50–950 ramp

primary
#8A71FE
secondary
#F1F7D4
accent
#E600BD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A71FE

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

Preview Lab → · Contrast checker → · Palette generator →

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