#8971CD#8971CD

#8971CD is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.1% C 0.137 H 294.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8971CD
RGBrgb(137, 113, 205)
HSLhsl(256, 48%, 62%)
HSVhsv(256, 45%, 80%)
CMYKcmyk(33.2%, 44.9%, 0%, 19.6%)
CIE-LABlab(53.53, 29.95, -44.51)
CIE-LCHlch(53.53, 53.65, 303.93°)
OKLaboklab(61.15% 0.0557 -0.1252)
OKLCHoklch(61.15% 0.137 294)
XYZxyz(27.2383, 21.5359, 60.4675)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971CD #B5CD71
analogous
#7187CD #8971CD #B771CD
triadic
#8971CD #CD8971 #71CD89
tetradic
#8971CD #CD7187 #B5CD71 #71CDB7
square
#8971CD #CD7187 #B5CD71 #71CDB7
split-complementary
#8971CD #CDB771 #87CD71
monochromatic
#4B3391 #6344BD #8971CD #AF9EDD #D4CCED

Accessibility & contrast

On white

3.96
#8971CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8971CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971CD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971CD#FFFFFF#000000##000000
##8971CD1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#577ECB
Tritanopia (blue-blind)
#798295
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8971cd;
/* rgb */ color: rgb(137, 113, 205);
/* oklch */ color: oklch(61.1% 0.137 294.0);
Tailwind
colors: {
  custom: {
    50: '#ae9add',
    500: '#8971cd',
    950: '#000000',
  },
}
SCSS
$custom: #8971cd;
$custom-light: #ae9add;
$custom-dark: #000000;
JSON
{
  "hex": "#8971cd",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 255.652,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61145,
    "c": 0.137,
    "h": 294
  },
  "luminance": 0.21536
}

Semantic roles & 50–950 ramp

primary
#8971CD
secondary
#D5DEBC
accent
#BB2A95
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8971CD

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

Preview Lab → · Contrast checker → · Palette generator →

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