#8371C8#8371C8

#8371C8 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.3% C 0.130 H 291.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8371C8
RGBrgb(131, 113, 200)
HSLhsl(252, 44%, 61%)
HSVhsv(252, 44%, 78%)
CMYKcmyk(34.5%, 43.5%, 0%, 21.6%)
CIE-LABlab(52.74, 27.00, -42.96)
CIE-LCHlch(52.74, 50.74, 302.15°)
OKLaboklab(60.33% 0.0477 -0.1208)
OKLCHoklch(60.33% 0.13 291.5)
XYZxyz(25.6878, 20.8051, 57.2948)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8371C8 #B6C871
analogous
#718BC8 #8371C8 #AF71C8
triadic
#8371C8 #C88371 #71C883
tetradic
#8371C8 #C8718B #B6C871 #71C8AF
square
#8371C8 #C8718B #B6C871 #71C8AF
split-complementary
#8371C8 #C8AF71 #8BC871
monochromatic
#473589 #5D46B6 #8371C8 #AA9DD9 #D0C9EA

Accessibility & contrast

On white

4.07
#8371C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8371C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8371C8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8371C8#FFFFFF#000000##000000
##8371C81.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCB
Deuteranopia (green-blind)
#567CC6
Tritanopia (blue-blind)
#728193
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8371c8;
/* rgb */ color: rgb(131, 113, 200);
/* oklch */ color: oklch(60.3% 0.130 291.5);
Tailwind
colors: {
  custom: {
    50: '#aa9ad9',
    500: '#8371c8',
    950: '#000000',
  },
}
SCSS
$custom: #8371c8;
$custom-light: #aa9ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#8371c8",
  "rgb": {
    "r": 131,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 252.414,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6033,
    "c": 0.12985,
    "h": 291.5
  },
  "luminance": 0.20806
}

Semantic roles & 50–950 ramp

primary
#8371C8
secondary
#D4DBBA
accent
#B72E9B
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8371C8

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

Preview Lab → · Contrast checker → · Palette generator →

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