#9C71FC#9C71FC

#9C71FC is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.7% C 0.199 H 294.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9C71FC
RGBrgb(156, 113, 252)
HSLhsl(259, 96%, 72%)
HSVhsv(259, 55%, 99%)
CMYKcmyk(38.1%, 55.2%, 0%, 1.2%)
CIE-LABlab(57.95, 46.94, -63.69)
CIE-LCHlch(57.95, 79.12, 306.39°)
OKLaboklab(65.71% 0.0827 -0.1809)
OKLCHoklch(65.71% 0.199 294.6)
XYZxyz(37.1815, 25.9056, 95.1179)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C71FC #D1FC71
analogous
#718CFC #9C71FC #E271FC
triadic
#9C71FC #FC9C71 #71FC9C
tetradic
#9C71FC #FC718C #D1FC71 #71FCE2
square
#9C71FC #FC718C #D1FC71 #71FCE2
split-complementary
#9C71FC #FCE271 #8CFC71
monochromatic
#4D05EE #7235FB #9C71FC #C6ADFD #EAE1FE

Accessibility & contrast

On white

3.40
#9C71FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#9C71FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C71FC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C71FC#FFFFFF#000000##000000
##9C71FC1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8DFF
Deuteranopia (green-blind)
#3A89F9
Tritanopia (blue-blind)
#848EAC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c71fc;
/* rgb */ color: rgb(156, 113, 252);
/* oklch */ color: oklch(65.7% 0.199 294.6);
Tailwind
colors: {
  custom: {
    50: '#be9bfe',
    500: '#9c71fc',
    950: '#000000',
  },
}
SCSS
$custom: #9c71fc;
$custom-light: #be9bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#9c71fc",
  "rgb": {
    "r": 156,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 258.561,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6571,
    "c": 0.19886,
    "h": 294.6
  },
  "luminance": 0.25906
}

Semantic roles & 50–950 ramp

primary
#9C71FC
secondary
#EBF6D3
accent
#E6009F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9C71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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