#8A71F0#8A71F0

#8A71F0 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.3% C 0.183 H 289.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A71F0
RGBrgb(138, 113, 240)
HSLhsl(252, 81%, 69%)
HSVhsv(252, 53%, 94%)
CMYKcmyk(42.5%, 52.9%, 0%, 5.9%)
CIE-LABlab(55.59, 39.67, -60.92)
CIE-LCHlch(55.59, 72.70, 303.07°)
OKLaboklab(63.34% 0.0601 -0.1732)
OKLCHoklch(63.34% 0.183 289.1)
XYZxyz(32.1101, 23.5037, 85.2660)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71F0 #D7F071
analogous
#7198F0 #8A71F0 #CA71F0
triadic
#8A71F0 #F08A71 #71F08A
tetradic
#8A71F0 #F07198 #D7F071 #71F0CA
square
#8A71F0 #F07198 #D7F071 #71F0CA
split-complementary
#8A71F0 #F0CA71 #98F071
monochromatic
#3B16D1 #5C3AEA #8A71F0 #B8A8F6 #E5E0FC

Accessibility & contrast

On white

3.68
#8A71F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8A71F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71F0
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71F0#FFFFFF#000000##000000
##8A71F01.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3488F4
Deuteranopia (green-blind)
#3682ED
Tritanopia (blue-blind)
#6C8CA6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a71f0;
/* rgb */ color: rgb(138, 113, 240);
/* oklch */ color: oklch(63.3% 0.183 289.1);
Tailwind
colors: {
  custom: {
    50: '#b29af6',
    500: '#8a71f0',
    950: '#000000',
  },
}
SCSS
$custom: #8a71f0;
$custom-light: #b29af6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71f0",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 251.811,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63341,
    "c": 0.18336,
    "h": 289.1
  },
  "luminance": 0.23505
}

Semantic roles & 50–950 ramp

primary
#8A71F0
secondary
#EAF1CC
accent
#DD08B3
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A71F0

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

Preview Lab → · Contrast checker → · Palette generator →

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