#8971F1#8971F1

#8971F1 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.3% C 0.185 H 288.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8971F1
RGBrgb(137, 113, 241)
HSLhsl(251, 82%, 69%)
HSVhsv(251, 53%, 95%)
CMYKcmyk(43.2%, 53.1%, 0%, 5.5%)
CIE-LABlab(55.56, 39.72, -61.52)
CIE-LCHlch(55.56, 73.23, 302.85°)
OKLaboklab(63.32% 0.0589 -0.175)
OKLCHoklch(63.32% 0.185 288.6)
XYZxyz(32.0944, 23.4783, 86.0428)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971F1 #D9F171
analogous
#7199F1 #8971F1 #C971F1
triadic
#8971F1 #F18971 #71F189
tetradic
#8971F1 #F17199 #D9F171 #71F1C9
square
#8971F1 #F17199 #D9F171 #71F1C9
split-complementary
#8971F1 #F1C971 #99F171
monochromatic
#3815D3 #5B39EC #8971F1 #B7A9F6 #E6E0FC

Accessibility & contrast

On white

3.69
#8971F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8971F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971F1
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971F1#FFFFFF#000000##000000
##8971F11.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3288F5
Deuteranopia (green-blind)
#3382EE
Tritanopia (blue-blind)
#6A8CA6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8971f1;
/* rgb */ color: rgb(137, 113, 241);
/* oklch */ color: oklch(63.3% 0.185 288.6);
Tailwind
colors: {
  custom: {
    50: '#b19af6',
    500: '#8971f1',
    950: '#000000',
  },
}
SCSS
$custom: #8971f1;
$custom-light: #b19af6;
$custom-dark: #000000;
JSON
{
  "hex": "#8971f1",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 241
  },
  "hsl": {
    "h": 251.25,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6332,
    "c": 0.18468,
    "h": 288.6
  },
  "luminance": 0.23479
}

Semantic roles & 50–950 ramp

primary
#8971F1
secondary
#EAF1CC
accent
#DE07B6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8971F1

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

Preview Lab → · Contrast checker → · Palette generator →

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