#8971ED#8971ED

#8971ED is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.1% C 0.179 H 289.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8971ED
RGBrgb(137, 113, 237)
HSLhsl(252, 78%, 69%)
HSVhsv(252, 52%, 93%)
CMYKcmyk(42.2%, 52.3%, 0%, 7.1%)
CIE-LABlab(55.32, 38.61, -59.68)
CIE-LCHlch(55.32, 71.08, 302.90°)
OKLaboklab(63.06% 0.0588 -0.1696)
OKLCHoklch(63.06% 0.18 289.1)
XYZxyz(31.5034, 23.2420, 82.9306)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971ED #D5ED71
analogous
#7197ED #8971ED #C771ED
triadic
#8971ED #ED8971 #71ED89
tetradic
#8971ED #ED7197 #D5ED71 #71EDC7
square
#8971ED #ED7197 #D5ED71 #71EDC7
split-complementary
#8971ED #EDC771 #97ED71
monochromatic
#3C1ACA #5C3BE6 #8971ED #B6A7F4 #E3DEFB

Accessibility & contrast

On white

3.72
#8971ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8971ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971ED
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971ED#FFFFFF#000000##000000
##8971ED1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F1
Deuteranopia (green-blind)
#3981EA
Tritanopia (blue-blind)
#6C8BA4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8971ed;
/* rgb */ color: rgb(137, 113, 237);
/* oklch */ color: oklch(63.1% 0.179 289.1);
Tailwind
colors: {
  custom: {
    50: '#b19af3',
    500: '#8971ed',
    950: '#000000',
  },
}
SCSS
$custom: #8971ed;
$custom-light: #b19af3;
$custom-dark: #000000;
JSON
{
  "hex": "#8971ed",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 251.613,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63064,
    "c": 0.1795,
    "h": 289.1
  },
  "luminance": 0.23243
}

Semantic roles & 50–950 ramp

primary
#8971ED
secondary
#E8EFCA
accent
#DA0CB2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8971ED

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

Preview Lab → · Contrast checker → · Palette generator →

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