#8A71FD#8A71FD

#8A71FD is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.2% C 0.200 H 287.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8A71FD
RGBrgb(138, 113, 253)
HSLhsl(251, 97%, 72%)
HSVhsv(251, 55%, 99%)
CMYKcmyk(45.5%, 55.3%, 0%, 0.8%)
CIE-LABlab(56.39, 43.29, -66.84)
CIE-LCHlch(56.39, 79.63, 302.93°)
OKLaboklab(64.19% 0.0605 -0.1906)
OKLCHoklch(64.19% 0.2 287.6)
XYZxyz(34.1109, 24.3040, 95.8033)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71FD #E4FD71
analogous
#719EFD #8A71FD #D071FD
triadic
#8A71FD #FD8A71 #71FD8A
tetradic
#8A71FD #FD719E #E4FD71 #71FDD0
square
#8A71FD #FD719E #E4FD71 #71FDD0
split-complementary
#8A71FD #FDD071 #9EFD71
monochromatic
#2E03F0 #5835FC #8A71FD #BCADFE #E6E1FF

Accessibility & contrast

On white

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

On black

5.86
#8A71FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71FD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71FD#FFFFFF#000000##000000
##8A71FD1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C8BFF
Deuteranopia (green-blind)
#1C83FA
Tritanopia (blue-blind)
#6590AC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a71fd;
/* rgb */ color: rgb(138, 113, 253);
/* oklch */ color: oklch(64.2% 0.200 287.6);
Tailwind
colors: {
  custom: {
    50: '#b39aff',
    500: '#8a71fd',
    950: '#000000',
  },
}
SCSS
$custom: #8a71fd;
$custom-light: #b39aff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71fd",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 250.714,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.64194,
    "c": 0.19997,
    "h": 287.6
  },
  "luminance": 0.24305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A71FD

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

Preview Lab → · Contrast checker → · Palette generator →

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