#8371CD#8371CD

#8371CD is a mid, vivid violet. Relative luminance 0.210; OKLCH L 60.6% C 0.137 H 290.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8371CD
RGBrgb(131, 113, 205)
HSLhsl(252, 48%, 62%)
HSVhsv(252, 45%, 80%)
CMYKcmyk(36.1%, 44.9%, 0%, 19.6%)
CIE-LABlab(53.00, 28.35, -45.39)
CIE-LCHlch(53.00, 53.52, 301.98°)
OKLaboklab(60.61% 0.0484 -0.1279)
OKLCHoklch(60.61% 0.137 290.7)
XYZxyz(26.2817, 21.0427, 60.4227)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8371CD #BBCD71
analogous
#718DCD #8371CD #B171CD
triadic
#8371CD #CD8371 #71CD83
tetradic
#8371CD #CD718D #BBCD71 #71CDB1
square
#8371CD #CD718D #BBCD71 #71CDB1
split-complementary
#8371CD #CDB171 #8DCD71
monochromatic
#453391 #5B44BD #8371CD #AB9EDD #D2CCED

Accessibility & contrast

On white

4.03
#8371CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8371CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8371CD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8371CD#FFFFFF#000000##000000
##8371CD1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D0
Deuteranopia (green-blind)
#537DCB
Tritanopia (blue-blind)
#708395
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8371cd;
/* rgb */ color: rgb(131, 113, 205);
/* oklch */ color: oklch(60.6% 0.137 290.7);
Tailwind
colors: {
  custom: {
    50: '#aa9add',
    500: '#8371cd',
    950: '#000000',
  },
}
SCSS
$custom: #8371cd;
$custom-light: #aa9add;
$custom-dark: #000000;
JSON
{
  "hex": "#8371cd",
  "rgb": {
    "r": 131,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 251.739,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60612,
    "c": 0.13676,
    "h": 290.7
  },
  "luminance": 0.21043
}

Semantic roles & 50–950 ramp

primary
#8371CD
secondary
#D7DEBC
accent
#BB2A9F
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8371CD

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

Preview Lab → · Contrast checker → · Palette generator →

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