#8971CA#8971CA

#8971CA is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.0% C 0.133 H 294.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8971CA
RGBrgb(137, 113, 202)
HSLhsl(256, 46%, 62%)
HSVhsv(256, 44%, 79%)
CMYKcmyk(32.2%, 44.1%, 0%, 20.8%)
CIE-LABlab(53.38, 29.16, -43.05)
CIE-LCHlch(53.38, 51.99, 304.11°)
OKLaboklab(60.98% 0.0552 -0.1209)
OKLCHoklch(60.98% 0.133 294.6)
XYZxyz(26.8796, 21.3924, 58.5786)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971CA #B2CA71
analogous
#7186CA #8971CA #B671CA
triadic
#8971CA #CA8971 #71CA89
tetradic
#8971CA #CA7186 #B2CA71 #71CAB6
square
#8971CA #CA7186 #B2CA71 #71CAB6
split-complementary
#8971CA #CAB671 #86CA71
monochromatic
#4C348C #6445B9 #8971CA #AE9EDB #D3CAEB

Accessibility & contrast

On white

3.98
#8971CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8971CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971CA
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971CA#FFFFFF#000000##000000
##8971CA1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CD
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#7A8194
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8971ca;
/* rgb */ color: rgb(137, 113, 202);
/* oklch */ color: oklch(61.0% 0.133 294.6);
Tailwind
colors: {
  custom: {
    50: '#ae9ada',
    500: '#8971ca',
    950: '#000000',
  },
}
SCSS
$custom: #8971ca;
$custom-light: #ae9ada;
$custom-dark: #000000;
JSON
{
  "hex": "#8971ca",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 256.18,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60977,
    "c": 0.13293,
    "h": 294.6
  },
  "luminance": 0.21393
}

Semantic roles & 50–950 ramp

primary
#8971CA
secondary
#D3DCBB
accent
#B92D93
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8971CA

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

Preview Lab → · Contrast checker → · Palette generator →

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