#8A71F6#8A71F6

#8A71F6 is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.7% C 0.191 H 288.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8A71F6
RGBrgb(138, 113, 246)
HSLhsl(251, 88%, 70%)
HSVhsv(251, 54%, 96%)
CMYKcmyk(43.9%, 54.1%, 0%, 3.5%)
CIE-LABlab(55.95, 41.33, -63.67)
CIE-LCHlch(55.95, 75.91, 302.99°)
OKLaboklab(63.73% 0.0603 -0.1813)
OKLCHoklch(63.73% 0.191 288.4)
XYZxyz(33.0162, 23.8661, 90.0379)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71F6 #DDF671
analogous
#719BF6 #8A71F6 #CC71F6
triadic
#8A71F6 #F68A71 #71F68A
tetradic
#8A71F6 #F6719B #DDF671 #71F6CC
square
#8A71F6 #F6719B #DDF671 #71F6CC
split-complementary
#8A71F6 #F6CC71 #9BF671
monochromatic
#350EDE #5B37F2 #8A71F6 #B9ABFA #E7E2FD

Accessibility & contrast

On white

3.64
#8A71F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8A71F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71F6
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71F6#FFFFFF#000000##000000
##8A71F61.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B89FB
Deuteranopia (green-blind)
#2C83F3
Tritanopia (blue-blind)
#698EA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a71f6;
/* rgb */ color: rgb(138, 113, 246);
/* oklch */ color: oklch(63.7% 0.191 288.4);
Tailwind
colors: {
  custom: {
    50: '#b29afa',
    500: '#8a71f6',
    950: '#000000',
  },
}
SCSS
$custom: #8a71f6;
$custom-light: #b29afa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71f6",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 251.278,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6373,
    "c": 0.19106,
    "h": 288.4
  },
  "luminance": 0.23867
}

Semantic roles & 50–950 ramp

primary
#8A71F6
secondary
#EDF4CF
accent
#E501BA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A71F6

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

Preview Lab → · Contrast checker → · Palette generator →

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