#8A71F5#8A71F5

#8A71F5 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.7% C 0.190 H 288.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8A71F5
RGBrgb(138, 113, 245)
HSLhsl(251, 87%, 70%)
HSVhsv(251, 54%, 96%)
CMYKcmyk(43.7%, 53.9%, 0%, 3.9%)
CIE-LABlab(55.89, 41.06, -63.21)
CIE-LCHlch(55.89, 75.37, 303.00°)
OKLaboklab(63.67% 0.0603 -0.1799)
OKLCHoklch(63.67% 0.19 288.5)
XYZxyz(32.8631, 23.8049, 89.2318)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71F5 #DCF571
analogous
#719AF5 #8A71F5 #CC71F5
triadic
#8A71F5 #F58A71 #71F58A
tetradic
#8A71F5 #F5719A #DCF571 #71F5CC
square
#8A71F5 #F5719A #DCF571 #71F5CC
split-complementary
#8A71F5 #F5CC71 #9AF571
monochromatic
#3610DC #5B38F1 #8A71F5 #B9AAF9 #E7E2FD

Accessibility & contrast

On white

3.65
#8A71F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8A71F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71F5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71F5#FFFFFF#000000##000000
##8A71F51.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C89FA
Deuteranopia (green-blind)
#2E83F2
Tritanopia (blue-blind)
#6A8EA8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a71f5;
/* rgb */ color: rgb(138, 113, 245);
/* oklch */ color: oklch(63.7% 0.190 288.5);
Tailwind
colors: {
  custom: {
    50: '#b29af9',
    500: '#8a71f5',
    950: '#000000',
  },
}
SCSS
$custom: #8a71f5;
$custom-light: #b29af9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71f5",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 251.364,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63665,
    "c": 0.18978,
    "h": 288.5
  },
  "luminance": 0.23806
}

Semantic roles & 50–950 ramp

primary
#8A71F5
secondary
#ECF3CF
accent
#E302B9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A71F5

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

Preview Lab → · Contrast checker → · Palette generator →

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