#9C5CF7#9C5CF7

#9C5CF7 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.3% C 0.221 H 298.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9C5CF7
RGBrgb(156, 92, 247)
HSLhsl(265, 91%, 66%)
HSVhsv(265, 63%, 97%)
CMYKcmyk(36.8%, 62.8%, 0%, 3.1%)
CIE-LABlab(53.42, 56.81, -68.21)
CIE-LCHlch(53.42, 88.77, 309.79°)
OKLaboklab(62.31% 0.1066 -0.1941)
OKLCHoklch(62.31% 0.221 298.8)
XYZxyz(34.3218, 21.4372, 90.3072)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5CF7 #B7F75C
analogous
#5C6AF7 #9C5CF7 #E95CF7
triadic
#9C5CF7 #F79C5C #5CF79C
tetradic
#9C5CF7 #F75C6A #B7F75C #5CF7E9
square
#9C5CF7 #F75C6A #B7F75C #5CF7E9
split-complementary
#9C5CF7 #F7E95C #6AF75C
monochromatic
#5B0ACE #7922F4 #9C5CF7 #BF96FA #E3D1FD

Accessibility & contrast

On white

3.97
#9C5CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9C5CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5CF7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5CF7#FFFFFF#000000##000000
##9C5CF71.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#077EF4
Tritanopia (blue-blind)
#877FA1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9c5cf7;
/* rgb */ color: rgb(156, 92, 247);
/* oklch */ color: oklch(62.3% 0.221 298.8);
Tailwind
colors: {
  custom: {
    50: '#bf8dfb',
    500: '#9c5cf7',
    950: '#000000',
  },
}
SCSS
$custom: #9c5cf7;
$custom-light: #bf8dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5cf7",
  "rgb": {
    "r": 156,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 264.774,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62305,
    "c": 0.22149,
    "h": 298.8
  },
  "luminance": 0.21438
}

Semantic roles & 50–950 ramp

primary
#9C5CF7
secondary
#DCF1BE
accent
#E60087
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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