#8A71F7#8A71F7

#8A71F7 is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.8% C 0.192 H 288.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8A71F7
RGBrgb(138, 113, 247)
HSLhsl(251, 89%, 71%)
HSVhsv(251, 54%, 97%)
CMYKcmyk(44.1%, 54.3%, 0%, 3.1%)
CIE-LABlab(56.02, 41.61, -64.12)
CIE-LCHlch(56.02, 76.44, 302.98°)
OKLaboklab(63.8% 0.0604 -0.1826)
OKLCHoklch(63.8% 0.192 288.3)
XYZxyz(33.1701, 23.9277, 90.8484)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71F7 #DEF771
analogous
#719BF7 #8A71F7 #CD71F7
triadic
#8A71F7 #F78A71 #71F78A
tetradic
#8A71F7 #F7719B #DEF771 #71F7CD
square
#8A71F7 #F7719B #DEF771 #71F7CD
split-complementary
#8A71F7 #F7CD71 #9BF771
monochromatic
#340DE1 #5A37F4 #8A71F7 #BAABFA #E7E2FD

Accessibility & contrast

On white

3.63
#8A71F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8A71F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71F7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71F7#FFFFFF#000000##000000
##8A71F71.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2989FC
Deuteranopia (green-blind)
#2A83F4
Tritanopia (blue-blind)
#698EA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a71f7;
/* rgb */ color: rgb(138, 113, 247);
/* oklch */ color: oklch(63.8% 0.192 288.3);
Tailwind
colors: {
  custom: {
    50: '#b29afb',
    500: '#8a71f7',
    950: '#000000',
  },
}
SCSS
$custom: #8a71f7;
$custom-light: #b29afb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71f7",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 251.194,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63796,
    "c": 0.19235,
    "h": 288.3
  },
  "luminance": 0.23929
}

Semantic roles & 50–950 ramp

primary
#8A71F7
secondary
#EDF4D0
accent
#E600BB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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