#8971F7#8971F7

#8971F7 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.7% C 0.192 H 287.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8971F7
RGBrgb(137, 113, 247)
HSLhsl(251, 89%, 71%)
HSVhsv(251, 54%, 97%)
CMYKcmyk(44.5%, 54.3%, 0%, 3.1%)
CIE-LABlab(55.93, 41.40, -64.26)
CIE-LCHlch(55.93, 76.44, 302.79°)
OKLaboklab(63.71% 0.0591 -0.1831)
OKLCHoklch(63.71% 0.192 287.9)
XYZxyz(33.0054, 23.8427, 90.8407)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971F7 #DFF771
analogous
#719CF7 #8971F7 #CC71F7
triadic
#8971F7 #F78971 #71F789
tetradic
#8971F7 #F7719C #DFF771 #71F7CC
square
#8971F7 #F7719C #DFF771 #71F7CC
split-complementary
#8971F7 #F7CC71 #9CF771
monochromatic
#330DE1 #5937F4 #8971F7 #B9ABFA #E7E2FD

Accessibility & contrast

On white

3.64
#8971F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8971F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971F7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971F7#FFFFFF#000000##000000
##8971F71.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2889FC
Deuteranopia (green-blind)
#2983F4
Tritanopia (blue-blind)
#678EA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8971f7;
/* rgb */ color: rgb(137, 113, 247);
/* oklch */ color: oklch(63.7% 0.192 287.9);
Tailwind
colors: {
  custom: {
    50: '#b29afb',
    500: '#8971f7',
    950: '#000000',
  },
}
SCSS
$custom: #8971f7;
$custom-light: #b29afb;
$custom-dark: #000000;
JSON
{
  "hex": "#8971f7",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 250.746,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63712,
    "c": 0.19239,
    "h": 287.9
  },
  "luminance": 0.23844
}

Semantic roles & 50–950 ramp

primary
#8971F7
secondary
#EEF4D0
accent
#E600BC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8971F7

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

Preview Lab → · Contrast checker → · Palette generator →

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