#8371C3#8371C3

#8371C3 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.1% C 0.123 H 292.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8371C3
RGBrgb(131, 113, 195)
HSLhsl(253, 41%, 60%)
HSVhsv(253, 42%, 76%)
CMYKcmyk(32.8%, 42.1%, 0%, 23.5%)
CIE-LABlab(52.48, 25.66, -40.50)
CIE-LCHlch(52.48, 47.95, 302.36°)
OKLaboklab(60.06% 0.0468 -0.1136)
OKLCHoklch(60.06% 0.123 292.4)
XYZxyz(25.1130, 20.5752, 54.2675)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8371C3 #B1C371
analogous
#7188C3 #8371C3 #AC71C3
triadic
#8371C3 #C38371 #71C383
tetradic
#8371C3 #C37188 #B1C371 #71C3AC
square
#8371C3 #C37188 #B1C371 #71C3AC
split-complementary
#8371C3 #C3AC71 #88C371
monochromatic
#483782 #5F49AD #8371C3 #A99CD5 #CEC7E7

Accessibility & contrast

On white

4.11
#8371C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8371C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8371C3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8371C3#FFFFFF#000000##000000
##8371C31.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#587EC6
Deuteranopia (green-blind)
#5A7CC1
Tritanopia (blue-blind)
#748091
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8371c3;
/* rgb */ color: rgb(131, 113, 195);
/* oklch */ color: oklch(60.1% 0.123 292.4);
Tailwind
colors: {
  custom: {
    50: '#a99ad5',
    500: '#8371c3',
    950: '#000000',
  },
}
SCSS
$custom: #8371c3;
$custom-light: #a99ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#8371c3",
  "rgb": {
    "r": 131,
    "g": 113,
    "b": 195
  },
  "hsl": {
    "h": 253.171,
    "s": 40.594,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60055,
    "c": 0.12289,
    "h": 292.4
  },
  "luminance": 0.20576
}

Semantic roles & 50–950 ramp

primary
#8371C3
secondary
#D1D8B8
accent
#B43297
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8371C3

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

Preview Lab → · Contrast checker → · Palette generator →

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