#8971FA#8971FA

#8971FA is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.9% C 0.196 H 287.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8971FA
RGBrgb(137, 113, 250)
HSLhsl(251, 93%, 71%)
HSVhsv(251, 55%, 98%)
CMYKcmyk(45.2%, 54.8%, 0%, 2%)
CIE-LABlab(56.12, 42.24, -65.62)
CIE-LCHlch(56.12, 78.04, 302.77°)
OKLaboklab(63.91% 0.0592 -0.1871)
OKLCHoklch(63.91% 0.196 287.6)
XYZxyz(33.4720, 24.0294, 93.2984)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971FA #E2FA71
analogous
#719DFA #8971FA #CD71FA
triadic
#8971FA #FA8971 #71FA89
tetradic
#8971FA #FA719D #E2FA71 #71FACD
square
#8971FA #FA719D #E2FA71 #71FACD
split-complementary
#8971FA #FACD71 #9DFA71
monochromatic
#2F08E8 #5836F8 #8971FA #BAACFC #E6E1FE

Accessibility & contrast

On white

3.62
#8971FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8971FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971FA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971FA#FFFFFF#000000##000000
##8971FA1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#228AFF
Deuteranopia (green-blind)
#2283F7
Tritanopia (blue-blind)
#658FAB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8971fa;
/* rgb */ color: rgb(137, 113, 250);
/* oklch */ color: oklch(63.9% 0.196 287.6);
Tailwind
colors: {
  custom: {
    50: '#b29afd',
    500: '#8971fa',
    950: '#000000',
  },
}
SCSS
$custom: #8971fa;
$custom-light: #b29afd;
$custom-dark: #000000;
JSON
{
  "hex": "#8971fa",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 250.511,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6391,
    "c": 0.19621,
    "h": 287.6
  },
  "luminance": 0.24031
}

Semantic roles & 50–950 ramp

primary
#8971FA
secondary
#EFF5D1
accent
#E600BD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8971FA

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

Preview Lab → · Contrast checker → · Palette generator →

#8971FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva