#8971FC#8971FC

#8971FC is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.0% C 0.199 H 287.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8971FC
RGBrgb(137, 113, 252)
HSLhsl(250, 96%, 72%)
HSVhsv(250, 55%, 99%)
CMYKcmyk(45.6%, 55.2%, 0%, 1.2%)
CIE-LABlab(56.24, 42.80, -66.53)
CIE-LCHlch(56.24, 79.11, 302.76°)
OKLaboklab(64.04% 0.0592 -0.1897)
OKLCHoklch(64.04% 0.199 287.3)
XYZxyz(33.7873, 24.1555, 94.9588)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971FC #E4FC71
analogous
#719FFC #8971FC #CF71FC
triadic
#8971FC #FC8971 #71FC89
tetradic
#8971FC #FC719F #E4FC71 #71FCCF
square
#8971FC #FC719F #E4FC71 #71FCCF
split-complementary
#8971FC #FCCF71 #9FFC71
monochromatic
#2D05EE #5735FB #8971FC #BBADFD #E6E1FE

Accessibility & contrast

On white

3.60
#8971FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#8971FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971FC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971FC#FFFFFF#000000##000000
##8971FC1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D8AFF
Deuteranopia (green-blind)
#1D83F9
Tritanopia (blue-blind)
#6490AC
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8971fc;
/* rgb */ color: rgb(137, 113, 252);
/* oklch */ color: oklch(64.0% 0.199 287.3);
Tailwind
colors: {
  custom: {
    50: '#b29afe',
    500: '#8971fc',
    950: '#000000',
  },
}
SCSS
$custom: #8971fc;
$custom-light: #b29afe;
$custom-dark: #000000;
JSON
{
  "hex": "#8971fc",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 250.36,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64044,
    "c": 0.19876,
    "h": 287.3
  },
  "luminance": 0.24157
}

Semantic roles & 50–950 ramp

primary
#8971FC
secondary
#F0F6D3
accent
#E600BE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #8971FC

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

Preview Lab → · Contrast checker → · Palette generator →

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