#9C71F2#9C71F2

#9C71F2 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.1% C 0.187 H 296.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9C71F2
RGBrgb(156, 113, 242)
HSLhsl(260, 83%, 70%)
HSVhsv(260, 53%, 95%)
CMYKcmyk(35.5%, 53.3%, 0%, 5.1%)
CIE-LABlab(57.36, 44.36, -59.11)
CIE-LCHlch(57.36, 73.90, 306.89°)
OKLaboklab(65.08% 0.0824 -0.1674)
OKLCHoklch(65.08% 0.187 296.2)
XYZxyz(35.6384, 25.2884, 86.9907)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C71F2 #C7F271
analogous
#7187F2 #9C71F2 #DD71F2
triadic
#9C71F2 #F29C71 #71F29C
tetradic
#9C71F2 #F27187 #C7F271 #71F2DD
square
#9C71F2 #F27187 #C7F271 #71F2DD
split-complementary
#9C71F2 #F2DD71 #87F271
monochromatic
#5414D5 #7539ED #9C71F2 #C3A9F7 #EAE1FC

Accessibility & contrast

On white

3.47
#9C71F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#9C71F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C71F2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C71F2#FFFFFF#000000##000000
##9C71F21.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8AF6
Deuteranopia (green-blind)
#4688EF
Tritanopia (blue-blind)
#888BA7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c71f2;
/* rgb */ color: rgb(156, 113, 242);
/* oklch */ color: oklch(65.1% 0.187 296.2);
Tailwind
colors: {
  custom: {
    50: '#bd9bf7',
    500: '#9c71f2',
    950: '#000000',
  },
}
SCSS
$custom: #9c71f2;
$custom-light: #bd9bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c71f2",
  "rgb": {
    "r": 156,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 260,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65083,
    "c": 0.18657,
    "h": 296.2
  },
  "luminance": 0.25289
}

Semantic roles & 50–950 ramp

primary
#9C71F2
secondary
#E6F2CD
accent
#E00697
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9C71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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