#8371CF#8371CF

#8371CF is a mid, vivid violet. Relative luminance 0.211; OKLCH L 60.7% C 0.140 H 290.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8371CF
RGBrgb(131, 113, 207)
HSLhsl(251, 49%, 63%)
HSVhsv(251, 45%, 81%)
CMYKcmyk(36.7%, 45.4%, 0%, 18.8%)
CIE-LABlab(53.10, 28.89, -46.36)
CIE-LCHlch(53.10, 54.63, 301.93°)
OKLaboklab(60.73% 0.0487 -0.1307)
OKLCHoklch(60.73% 0.14 290.4)
XYZxyz(26.5247, 21.1398, 61.7023)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8371CF #BDCF71
analogous
#718ECF #8371CF #B271CF
triadic
#8371CF #CF8371 #71CF83
tetradic
#8371CF #CF718E #BDCF71 #71CFB2
square
#8371CF #CF718E #BDCF71 #71CFB2
split-complementary
#8371CF #CFB271 #8ECF71
monochromatic
#453294 #5B43C0 #8371CF #AB9FDE #D3CCEE

Accessibility & contrast

On white

4.02
#8371CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#8371CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8371CF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8371CF#FFFFFF#000000##000000
##8371CF1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5081D2
Deuteranopia (green-blind)
#517DCD
Tritanopia (blue-blind)
#708396
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8371cf;
/* rgb */ color: rgb(131, 113, 207);
/* oklch */ color: oklch(60.7% 0.140 290.4);
Tailwind
colors: {
  custom: {
    50: '#aa9ade',
    500: '#8371cf',
    950: '#000000',
  },
}
SCSS
$custom: #8371cf;
$custom-light: #aa9ade;
$custom-dark: #000000;
JSON
{
  "hex": "#8371cf",
  "rgb": {
    "r": 131,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 251.489,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60727,
    "c": 0.1395,
    "h": 290.4
  },
  "luminance": 0.21141
}

Semantic roles & 50–950 ramp

primary
#8371CF
secondary
#D8DFBD
accent
#BD29A0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8371CF

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

Preview Lab → · Contrast checker → · Palette generator →

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