#8971EF#8971EF

#8971EF is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.2% C 0.182 H 288.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8971EF
RGBrgb(137, 113, 239)
HSLhsl(251, 80%, 69%)
HSVhsv(251, 53%, 94%)
CMYKcmyk(42.7%, 52.7%, 0%, 6.3%)
CIE-LABlab(55.44, 39.17, -60.60)
CIE-LCHlch(55.44, 72.16, 302.87°)
OKLaboklab(63.19% 0.0589 -0.1723)
OKLCHoklch(63.19% 0.182 288.9)
XYZxyz(31.7973, 23.3595, 84.4781)
Luminance0.2336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971EF #D7EF71
analogous
#7198EF #8971EF #C871EF
triadic
#8971EF #EF8971 #71EF89
tetradic
#8971EF #EF7198 #D7EF71 #71EFC8
square
#8971EF #EF7198 #D7EF71 #71EFC8
split-complementary
#8971EF #EFC871 #98EF71
monochromatic
#3A17CE #5B3AE9 #8971EF #B7A8F5 #E4DFFB

Accessibility & contrast

On white

3.70
#8971EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8971EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971EF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971EF#FFFFFF#000000##000000
##8971EF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3587F3
Deuteranopia (green-blind)
#3682EC
Tritanopia (blue-blind)
#6B8CA5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8971ef;
/* rgb */ color: rgb(137, 113, 239);
/* oklch */ color: oklch(63.2% 0.182 288.9);
Tailwind
colors: {
  custom: {
    50: '#b19af5',
    500: '#8971ef',
    950: '#000000',
  },
}
SCSS
$custom: #8971ef;
$custom-light: #b19af5;
$custom-dark: #000000;
JSON
{
  "hex": "#8971ef",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 251.429,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63191,
    "c": 0.1821,
    "h": 288.9
  },
  "luminance": 0.23361
}

Semantic roles & 50–950 ramp

primary
#8971EF
secondary
#E9F0CB
accent
#DC09B4
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8971EF

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

Preview Lab → · Contrast checker → · Palette generator →

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