#8A71F4#8A71F4

#8A71F4 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.6% C 0.189 H 288.6°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8A71F4
RGBrgb(138, 113, 244)
HSLhsl(251, 86%, 70%)
HSVhsv(251, 54%, 96%)
CMYKcmyk(43.4%, 53.7%, 0%, 4.3%)
CIE-LABlab(55.83, 40.78, -62.75)
CIE-LCHlch(55.83, 74.84, 303.02°)
OKLaboklab(63.6% 0.0603 -0.1786)
OKLCHoklch(63.6% 0.189 288.6)
XYZxyz(32.7109, 23.7440, 88.4299)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71F4 #DBF471
analogous
#719AF4 #8A71F4 #CB71F4
triadic
#8A71F4 #F48A71 #71F48A
tetradic
#8A71F4 #F4719A #DBF471 #71F4CB
square
#8A71F4 #F4719A #DBF471 #71F4CB
split-complementary
#8A71F4 #F4CB71 #9AF471
monochromatic
#3711DA #5B38F0 #8A71F4 #B9AAF8 #E8E3FD

Accessibility & contrast

On white

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

On black

5.75
#8A71F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71F4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71F4#FFFFFF#000000##000000
##8A71F41.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E89F8
Deuteranopia (green-blind)
#3083F1
Tritanopia (blue-blind)
#6A8DA8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a71f4;
/* rgb */ color: rgb(138, 113, 244);
/* oklch */ color: oklch(63.6% 0.189 288.6);
Tailwind
colors: {
  custom: {
    50: '#b29af8',
    500: '#8a71f4',
    950: '#000000',
  },
}
SCSS
$custom: #8a71f4;
$custom-light: #b29af8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71f4",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 251.45,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.63599,
    "c": 0.1885,
    "h": 288.6
  },
  "luminance": 0.23745
}

Semantic roles & 50–950 ramp

primary
#8A71F4
secondary
#ECF3CE
accent
#E203B8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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