#8A71FA#8A71FA

#8A71FA is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.0% C 0.196 H 287.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8A71FA
RGBrgb(138, 113, 250)
HSLhsl(251, 93%, 71%)
HSVhsv(251, 55%, 98%)
CMYKcmyk(44.8%, 54.8%, 0%, 2%)
CIE-LABlab(56.20, 42.45, -65.48)
CIE-LCHlch(56.20, 78.04, 302.96°)
OKLaboklab(63.99% 0.0604 -0.1866)
OKLCHoklch(63.99% 0.196 287.9)
XYZxyz(33.6367, 24.1143, 93.3062)
Luminance0.2412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71FA #E1FA71
analogous
#719CFA #8A71FA #CE71FA
triadic
#8A71FA #FA8A71 #71FA8A
tetradic
#8A71FA #FA719C #E1FA71 #71FACE
square
#8A71FA #FA719C #E1FA71 #71FACE
split-complementary
#8A71FA #FACE71 #9CFA71
monochromatic
#3108E8 #5936F8 #8A71FA #BBACFC #E7E1FE

Accessibility & contrast

On white

3.61
#8A71FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8A71FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71FA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71FA#FFFFFF#000000##000000
##8A71FA1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#238AFF
Deuteranopia (green-blind)
#2483F7
Tritanopia (blue-blind)
#678FAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a71fa;
/* rgb */ color: rgb(138, 113, 250);
/* oklch */ color: oklch(64.0% 0.196 287.9);
Tailwind
colors: {
  custom: {
    50: '#b39afd',
    500: '#8a71fa',
    950: '#000000',
  },
}
SCSS
$custom: #8a71fa;
$custom-light: #b39afd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71fa",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 250.949,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63994,
    "c": 0.19617,
    "h": 287.9
  },
  "luminance": 0.24116
}

Semantic roles & 50–950 ramp

primary
#8A71FA
secondary
#EFF5D1
accent
#E600BC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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