#9C5FF1#9C5FF1

#9C5FF1 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.3% C 0.211 H 299.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9C5FF1
RGBrgb(156, 95, 241)
HSLhsl(265, 84%, 66%)
HSVhsv(265, 61%, 95%)
CMYKcmyk(35.3%, 60.6%, 0%, 5.5%)
CIE-LABlab(53.60, 53.79, -64.58)
CIE-LCHlch(53.60, 84.05, 309.79°)
OKLaboklab(62.31% 0.1037 -0.1834)
OKLCHoklch(62.31% 0.211 299.5)
XYZxyz(33.6758, 21.6029, 85.5976)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5FF1 #B4F15F
analogous
#5F6BF1 #9C5FF1 #E55FF1
triadic
#9C5FF1 #F19C5F #5FF19C
tetradic
#9C5FF1 #F15F6B #B4F15F #5FF1E5
square
#9C5FF1 #F15F6B #B4F15F #5FF1E5
split-complementary
#9C5FF1 #F1E55F #6BF15F
monochromatic
#5C11C4 #7927EC #9C5FF1 #BF97F6 #E2D0FB

Accessibility & contrast

On white

3.95
#9C5FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#9C5FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5FF1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5FF1#FFFFFF#000000##000000
##9C5FF11.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#277FEE
Tritanopia (blue-blind)
#897E9F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9c5ff1;
/* rgb */ color: rgb(156, 95, 241);
/* oklch */ color: oklch(62.3% 0.211 299.5);
Tailwind
colors: {
  custom: {
    50: '#be8ff6',
    500: '#9c5ff1',
    950: '#000000',
  },
}
SCSS
$custom: #9c5ff1;
$custom-light: #be8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5ff1",
  "rgb": {
    "r": 156,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 265.068,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6231,
    "c": 0.21072,
    "h": 299.5
  },
  "luminance": 0.21603
}

Semantic roles & 50–950 ramp

primary
#9C5FF1
secondary
#DAEEBE
accent
#E00585
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #9C5FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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