#8971CF#8971CF

#8971CF is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.3% C 0.140 H 293.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8971CF
RGBrgb(137, 113, 207)
HSLhsl(255, 49%, 63%)
HSVhsv(255, 45%, 81%)
CMYKcmyk(33.8%, 45.4%, 0%, 18.8%)
CIE-LABlab(53.64, 30.47, -45.48)
CIE-LCHlch(53.64, 54.75, 303.82°)
OKLaboklab(61.26% 0.056 -0.128)
OKLCHoklch(61.26% 0.14 293.6)
XYZxyz(27.4813, 21.6331, 61.7471)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971CF #B7CF71
analogous
#7188CF #8971CF #B871CF
triadic
#8971CF #CF8971 #71CF89
tetradic
#8971CF #CF7188 #B7CF71 #71CFB8
square
#8971CF #CF7188 #B7CF71 #71CFB8
split-complementary
#8971CF #CFB871 #88CF71
monochromatic
#4B3294 #6343C0 #8971CF #AF9FDE #D5CCEE

Accessibility & contrast

On white

3.94
#8971CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8971CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971CF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971CF#FFFFFF#000000##000000
##8971CF1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#557FCD
Tritanopia (blue-blind)
#798396
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8971cf;
/* rgb */ color: rgb(137, 113, 207);
/* oklch */ color: oklch(61.3% 0.140 293.6);
Tailwind
colors: {
  custom: {
    50: '#ae9ade',
    500: '#8971cf',
    950: '#000000',
  },
}
SCSS
$custom: #8971cf;
$custom-light: #ae9ade;
$custom-dark: #000000;
JSON
{
  "hex": "#8971cf",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 255.319,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61257,
    "c": 0.13971,
    "h": 293.6
  },
  "luminance": 0.21634
}

Semantic roles & 50–950 ramp

primary
#8971CF
secondary
#D6DFBD
accent
#BD2997
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8971CF

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

Preview Lab → · Contrast checker → · Palette generator →

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