#8971F2#8971F2

#8971F2 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.4% C 0.186 H 288.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8971F2
RGBrgb(137, 113, 242)
HSLhsl(251, 83%, 70%)
HSVhsv(251, 53%, 95%)
CMYKcmyk(43.4%, 53.3%, 0%, 5.1%)
CIE-LABlab(55.62, 40.00, -61.98)
CIE-LCHlch(55.62, 73.77, 302.84°)
OKLaboklab(63.39% 0.059 -0.1764)
OKLCHoklch(63.39% 0.186 288.5)
XYZxyz(32.2441, 23.5382, 86.8316)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971F2 #DAF271
analogous
#719AF2 #8971F2 #CA71F2
triadic
#8971F2 #F28971 #71F289
tetradic
#8971F2 #F2719A #DAF271 #71F2CA
square
#8971F2 #F2719A #DAF271 #71F2CA
split-complementary
#8971F2 #F2CA71 #9AF271
monochromatic
#3814D5 #5A39ED #8971F2 #B8A9F7 #E6E1FC

Accessibility & contrast

On white

3.68
#8971F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8971F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971F2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971F2#FFFFFF#000000##000000
##8971F21.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3088F6
Deuteranopia (green-blind)
#3282EF
Tritanopia (blue-blind)
#698DA7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8971f2;
/* rgb */ color: rgb(137, 113, 242);
/* oklch */ color: oklch(63.4% 0.186 288.5);
Tailwind
colors: {
  custom: {
    50: '#b19af7',
    500: '#8971f2',
    950: '#000000',
  },
}
SCSS
$custom: #8971f2;
$custom-light: #b19af7;
$custom-dark: #000000;
JSON
{
  "hex": "#8971f2",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 251.163,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63385,
    "c": 0.18597,
    "h": 288.5
  },
  "luminance": 0.23539
}

Semantic roles & 50–950 ramp

primary
#8971F2
secondary
#EBF2CD
accent
#E006B7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8971F2

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

Preview Lab → · Contrast checker → · Palette generator →

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