#8971DF#8971DF

#8971DF is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.2% C 0.161 H 291.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8971DF
RGBrgb(137, 113, 223)
HSLhsl(253, 63%, 66%)
HSVhsv(253, 49%, 87%)
CMYKcmyk(38.6%, 49.3%, 0%, 12.5%)
CIE-LABlab(54.51, 34.76, -53.14)
CIE-LCHlch(54.51, 63.50, 303.19°)
OKLaboklab(62.19% 0.0578 -0.1504)
OKLCHoklch(62.19% 0.161 291)
XYZxyz(29.5373, 22.4555, 72.5758)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971DF #C7DF71
analogous
#7190DF #8971DF #C071DF
triadic
#8971DF #DF8971 #71DF89
tetradic
#8971DF #DF7190 #C7DF71 #71DFC0
square
#8971DF #DF7190 #C7DF71 #71DFC0
split-complementary
#8971DF #DFC071 #90DF71
monochromatic
#4527AE #5F3FD4 #8971DF #B3A3EA #DCD5F6

Accessibility & contrast

On white

3.82
#8971DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8971DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971DF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971DF#FFFFFF#000000##000000
##8971DF1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E3
Deuteranopia (green-blind)
#4980DC
Tritanopia (blue-blind)
#72879E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8971df;
/* rgb */ color: rgb(137, 113, 223);
/* oklch */ color: oklch(62.2% 0.161 291.0);
Tailwind
colors: {
  custom: {
    50: '#af9ae9',
    500: '#8971df',
    950: '#000000',
  },
}
SCSS
$custom: #8971df;
$custom-light: #af9ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#8971df",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 253.091,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62194,
    "c": 0.16114,
    "h": 291
  },
  "luminance": 0.22456
}

Semantic roles & 50–950 ramp

primary
#8971DF
secondary
#E0E8C4
accent
#CB1BA4
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8971DF

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

Preview Lab → · Contrast checker → · Palette generator →

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