#9C71E4#9C71E4

#9C71E4 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.2% C 0.169 H 298.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9C71E4
RGBrgb(156, 113, 228)
HSLhsl(262, 68%, 67%)
HSVhsv(262, 50%, 89%)
CMYKcmyk(31.6%, 50.4%, 0%, 10.6%)
CIE-LABlab(56.56, 40.82, -52.56)
CIE-LCHlch(56.56, 66.55, 307.83°)
OKLaboklab(64.24% 0.0815 -0.1482)
OKLCHoklch(64.24% 0.169 298.8)
XYZxyz(33.6157, 24.4793, 76.3377)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C71E4 #B9E471
analogous
#7180E4 #9C71E4 #D671E4
triadic
#9C71E4 #E49C71 #71E49C
tetradic
#9C71E4 #E47180 #B9E471 #71E4D6
square
#9C71E4 #E47180 #B9E471 #71E4D6
split-complementary
#9C71E4 #E4D671 #80E471
monochromatic
#5B23B8 #783EDA #9C71E4 #C0A4EE #E4D8F8

Accessibility & contrast

On white

3.56
#9C71E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#9C71E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C71E4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C71E4#FFFFFF#000000##000000
##9C71E41.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4888E8
Deuteranopia (green-blind)
#5387E1
Tritanopia (blue-blind)
#8D87A0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9c71e4;
/* rgb */ color: rgb(156, 113, 228);
/* oklch */ color: oklch(64.2% 0.169 298.8);
Tailwind
colors: {
  custom: {
    50: '#bc9bed',
    500: '#9c71e4',
    950: '#000000',
  },
}
SCSS
$custom: #9c71e4;
$custom-light: #bc9bed;
$custom-dark: #000000;
JSON
{
  "hex": "#9c71e4",
  "rgb": {
    "r": 156,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 262.435,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64241,
    "c": 0.16916,
    "h": 298.8
  },
  "luminance": 0.2448
}

Semantic roles & 50–950 ramp

primary
#9C71E4
secondary
#DDEBC6
accent
#D0168A
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9C71E4

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

Preview Lab → · Contrast checker → · Palette generator →

#9C71E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva