#8A71F9#8A71F9

#8A71F9 is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.9% C 0.195 H 288.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8A71F9
RGBrgb(138, 113, 249)
HSLhsl(251, 92%, 71%)
HSVhsv(251, 55%, 98%)
CMYKcmyk(44.6%, 54.6%, 0%, 2.4%)
CIE-LABlab(56.14, 42.17, -65.03)
CIE-LCHlch(56.14, 77.51, 302.96°)
OKLaboklab(63.93% 0.0604 -0.1853)
OKLCHoklch(63.93% 0.195 288.1)
XYZxyz(33.4804, 24.0518, 92.4825)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71F9 #E0F971
analogous
#719CF9 #8A71F9 #CE71F9
triadic
#8A71F9 #F98A71 #71F98A
tetradic
#8A71F9 #F9719C #E0F971 #71F9CE
square
#8A71F9 #F9719C #E0F971 #71F9CE
split-complementary
#8A71F9 #F9CE71 #9CF971
monochromatic
#320AE6 #5A36F7 #8A71F9 #BAACFB #E7E2FE

Accessibility & contrast

On white

3.61
#8A71F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8A71F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71F9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71F9#FFFFFF#000000##000000
##8A71F91.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#258AFE
Deuteranopia (green-blind)
#2683F6
Tritanopia (blue-blind)
#688FAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a71f9;
/* rgb */ color: rgb(138, 113, 249);
/* oklch */ color: oklch(63.9% 0.195 288.1);
Tailwind
colors: {
  custom: {
    50: '#b39afc',
    500: '#8a71f9',
    950: '#000000',
  },
}
SCSS
$custom: #8a71f9;
$custom-light: #b39afc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71f9",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 251.029,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63927,
    "c": 0.1949,
    "h": 288.1
  },
  "luminance": 0.24053
}

Semantic roles & 50–950 ramp

primary
#8A71F9
secondary
#EEF5D1
accent
#E600BB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8A71F9

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

Preview Lab → · Contrast checker → · Palette generator →

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