#8A71F8#8A71F8

#8A71F8 is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.9% C 0.194 H 288.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8A71F8
RGBrgb(138, 113, 248)
HSLhsl(251, 91%, 71%)
HSVhsv(251, 54%, 97%)
CMYKcmyk(44.4%, 54.4%, 0%, 2.7%)
CIE-LABlab(56.08, 41.89, -64.57)
CIE-LCHlch(56.08, 76.97, 302.97°)
OKLaboklab(63.86% 0.0604 -0.184)
OKLCHoklch(63.86% 0.194 288.2)
XYZxyz(33.3248, 23.9896, 91.6633)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A71F8 #DFF871
analogous
#719BF8 #8A71F8 #CD71F8
triadic
#8A71F8 #F88A71 #71F88A
tetradic
#8A71F8 #F8719B #DFF871 #71F8CD
square
#8A71F8 #F8719B #DFF871 #71F8CD
split-complementary
#8A71F8 #F8CD71 #9BF871
monochromatic
#330BE3 #5A37F5 #8A71F8 #BAABFB #E7E2FE

Accessibility & contrast

On white

3.62
#8A71F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8A71F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A71F8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A71F8#FFFFFF#000000##000000
##8A71F81.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2789FD
Deuteranopia (green-blind)
#2883F5
Tritanopia (blue-blind)
#688EAA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a71f8;
/* rgb */ color: rgb(138, 113, 248);
/* oklch */ color: oklch(63.9% 0.194 288.2);
Tailwind
colors: {
  custom: {
    50: '#b29afb',
    500: '#8a71f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a71f8;
$custom-light: #b29afb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a71f8",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 251.111,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.63861,
    "c": 0.19362,
    "h": 288.2
  },
  "luminance": 0.23991
}

Semantic roles & 50–950 ramp

primary
#8A71F8
secondary
#EEF5D0
accent
#E600BB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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