#9371C7#9371C7

#9371C7 is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.8% C 0.130 H 300.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9371C7
RGBrgb(147, 113, 199)
HSLhsl(264, 43%, 61%)
HSVhsv(264, 43%, 78%)
CMYKcmyk(26.1%, 43.2%, 0%, 22%)
CIE-LABlab(54.17, 31.19, -40.02)
CIE-LCHlch(54.17, 50.74, 307.93°)
OKLaboklab(61.75% 0.0669 -0.1119)
OKLCHoklch(61.75% 0.13 300.9)
XYZxyz(28.2442, 22.1367, 56.8066)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9371C7 #A5C771
analogous
#717AC7 #9371C7 #BE71C7
triadic
#9371C7 #C79371 #71C793
tetradic
#9371C7 #C7717A #A5C771 #71C7BE
square
#9371C7 #C7717A #A5C771 #71C7BE
split-complementary
#9371C7 #C7BE71 #7AC771
monochromatic
#563688 #7247B4 #9371C7 #B49DD8 #D6C9EA

Accessibility & contrast

On white

3.87
#9371C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#9371C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9371C7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9371C7#FFFFFF#000000##000000
##9371C71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A81CA
Deuteranopia (green-blind)
#6181C5
Tritanopia (blue-blind)
#898092
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9371c7;
/* rgb */ color: rgb(147, 113, 199);
/* oklch */ color: oklch(61.8% 0.130 300.9);
Tailwind
colors: {
  custom: {
    50: '#b49ad8',
    500: '#9371c7',
    950: '#000000',
  },
}
SCSS
$custom: #9371c7;
$custom-light: #b49ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#9371c7",
  "rgb": {
    "r": 147,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 263.721,
    "s": 43.434,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61752,
    "c": 0.13035,
    "h": 300.9
  },
  "luminance": 0.22137
}

Semantic roles & 50–950 ramp

primary
#9371C7
secondary
#CDDABA
accent
#B72F81
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #9371C7

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

Preview Lab → · Contrast checker → · Palette generator →

#9371C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva