#8971FE#8971FE

#8971FE is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.2% C 0.201 H 287.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8971FE
RGBrgb(137, 113, 254)
HSLhsl(250, 99%, 72%)
HSVhsv(250, 56%, 100%)
CMYKcmyk(46.1%, 55.5%, 0%, 0.4%)
CIE-LABlab(56.37, 43.36, -67.43)
CIE-LCHlch(56.37, 80.17, 302.75°)
OKLaboklab(64.18% 0.0593 -0.1924)
OKLCHoklch(64.18% 0.201 287.1)
XYZxyz(34.1059, 24.2829, 96.6367)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971FE #E6FE71
analogous
#71A0FE #8971FE #D071FE
triadic
#8971FE #FE8971 #71FE89
tetradic
#8971FE #FE71A0 #E6FE71 #71FED0
square
#8971FE #FE71A0 #E6FE71 #71FED0
split-complementary
#8971FE #FED071 #A0FE71
monochromatic
#2B02F3 #5734FE #8971FE #BCAEFE #E6E1FF

Accessibility & contrast

On white

3.59
#8971FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#8971FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971FE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971FE#FFFFFF#000000##000000
##8971FE1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#188BFF
Deuteranopia (green-blind)
#1683FB
Tritanopia (blue-blind)
#6390AD
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8971fe;
/* rgb */ color: rgb(137, 113, 254);
/* oklch */ color: oklch(64.2% 0.201 287.1);
Tailwind
colors: {
  custom: {
    50: '#b29aff',
    500: '#8971fe',
    950: '#000000',
  },
}
SCSS
$custom: #8971fe;
$custom-light: #b29aff;
$custom-dark: #000000;
JSON
{
  "hex": "#8971fe",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 250.213,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.64178,
    "c": 0.2013,
    "h": 287.1
  },
  "luminance": 0.24284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8971FE

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

Preview Lab → · Contrast checker → · Palette generator →

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