#8A71FF#8A71FF

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

Color values

HEX#8A71FF
RGBrgb(138, 113, 255)
HSLhsl(251, 100%, 72%)
HSVhsv(251, 56%, 100%)
CMYKcmyk(45.9%, 55.7%, 0%, 0%)
CIE-LABlab(56.52, 43.85, -67.73)
CIE-LCHlch(56.52, 80.69, 302.92°)
OKLaboklab(64.33% 0.0605 -0.1933)
OKLCHoklch(64.33% 0.203 287.4)
XYZxyz(34.4311, 24.4321, 97.4900)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71FF #E6FF71
analogous
#719FFF #8A71FF #D171FF
triadic
#8A71FF #FF8A71 #71FF8A
tetradic
#8A71FF #FF719F #E6FF71 #71FFD1
square
#8A71FF #FF719F #E6FF71 #71FFD1
split-complementary
#8A71FF #FFD171 #9FFF71
monochromatic
#2B00F6 #5834FF #8A71FF #BCAEFF #E6E0FF

Accessibility & contrast

On white

3.57
#8A71FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#8A71FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71FF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71FF#FFFFFF#000000##000000
##8A71FF1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#158BFF
Deuteranopia (green-blind)
#1584FC
Tritanopia (blue-blind)
#6491AD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a71ff;
/* rgb */ color: rgb(138, 113, 255);
/* oklch */ color: oklch(64.3% 0.203 287.4);
Tailwind
colors: {
  custom: {
    50: '#b39aff',
    500: '#8a71ff',
    950: '#000000',
  },
}
SCSS
$custom: #8a71ff;
$custom-light: #b39aff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71ff",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 250.563,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.64328,
    "c": 0.2025,
    "h": 287.4
  },
  "luminance": 0.24434
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A71FF

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

Preview Lab → · Contrast checker → · Palette generator →

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