#8A71FC#8A71FC

#8A71FC is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.1% C 0.199 H 287.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A71FC
RGBrgb(138, 113, 252)
HSLhsl(251, 96%, 72%)
HSVhsv(251, 55%, 99%)
CMYKcmyk(45.2%, 55.2%, 0%, 1.2%)
CIE-LABlab(56.33, 43.01, -66.39)
CIE-LCHlch(56.33, 79.10, 302.94°)
OKLaboklab(64.13% 0.0605 -0.1893)
OKLCHoklch(64.13% 0.199 287.7)
XYZxyz(33.9520, 24.2404, 94.9665)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71FC #E3FC71
analogous
#719EFC #8A71FC #CF71FC
triadic
#8A71FC #FC8A71 #71FC8A
tetradic
#8A71FC #FC719E #E3FC71 #71FCCF
square
#8A71FC #FC719E #E3FC71 #71FCCF
split-complementary
#8A71FC #FCCF71 #9EFC71
monochromatic
#2F05EE #5935FB #8A71FC #BBADFD #E6E1FE

Accessibility & contrast

On white

3.59
#8A71FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8A71FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71FC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71FC#FFFFFF#000000##000000
##8A71FC1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E8AFF
Deuteranopia (green-blind)
#1F83F9
Tritanopia (blue-blind)
#6690AC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a71fc;
/* rgb */ color: rgb(138, 113, 252);
/* oklch */ color: oklch(64.1% 0.199 287.7);
Tailwind
colors: {
  custom: {
    50: '#b39afe',
    500: '#8a71fc',
    950: '#000000',
  },
}
SCSS
$custom: #8a71fc;
$custom-light: #b39afe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71fc",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 250.791,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64127,
    "c": 0.19871,
    "h": 287.7
  },
  "luminance": 0.24242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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