#8971FB#8971FB

#8971FB is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.0% C 0.197 H 287.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8971FB
RGBrgb(137, 113, 251)
HSLhsl(250, 95%, 71%)
HSVhsv(250, 55%, 98%)
CMYKcmyk(45.4%, 55%, 0%, 1.6%)
CIE-LABlab(56.18, 42.52, -66.07)
CIE-LCHlch(56.18, 78.57, 302.76°)
OKLaboklab(63.98% 0.0592 -0.1884)
OKLCHoklch(63.98% 0.197 287.4)
XYZxyz(33.6292, 24.0923, 94.1264)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971FB #E3FB71
analogous
#719EFB #8971FB #CE71FB
triadic
#8971FB #FB8971 #71FB89
tetradic
#8971FB #FB719E #E3FB71 #71FBCE
square
#8971FB #FB719E #E3FB71 #71FBCE
split-complementary
#8971FB #FBCE71 #9EFB71
monochromatic
#2E07EB #5835F9 #8971FB #BAADFD #E6E1FE

Accessibility & contrast

On white

3.61
#8971FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8971FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971FB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971FB#FFFFFF#000000##000000
##8971FB1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#208AFF
Deuteranopia (green-blind)
#2083F8
Tritanopia (blue-blind)
#658FAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8971fb;
/* rgb */ color: rgb(137, 113, 251);
/* oklch */ color: oklch(64.0% 0.197 287.4);
Tailwind
colors: {
  custom: {
    50: '#b29afd',
    500: '#8971fb',
    950: '#000000',
  },
}
SCSS
$custom: #8971fb;
$custom-light: #b29afd;
$custom-dark: #000000;
JSON
{
  "hex": "#8971fb",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 250.435,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63977,
    "c": 0.19749,
    "h": 287.4
  },
  "luminance": 0.24094
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8971FB

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

Preview Lab → · Contrast checker → · Palette generator →

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