#9C5EF1#9C5EF1

#9C5EF1 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.2% C 0.212 H 299.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9C5EF1
RGBrgb(156, 94, 241)
HSLhsl(265, 84%, 66%)
HSVhsv(265, 61%, 95%)
CMYKcmyk(35.3%, 61%, 0%, 5.5%)
CIE-LABlab(53.41, 54.31, -64.89)
CIE-LCHlch(53.41, 84.62, 309.93°)
OKLaboklab(62.17% 0.1048 -0.1844)
OKLCHoklch(62.17% 0.212 299.6)
XYZxyz(33.5863, 21.4239, 85.5678)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5EF1 #B3F15E
analogous
#5E69F1 #9C5EF1 #E55EF1
triadic
#9C5EF1 #F19C5E #5EF19C
tetradic
#9C5EF1 #F15E69 #B3F15E #5EF1E5
square
#9C5EF1 #F15E69 #B3F15E #5EF1E5
split-complementary
#9C5EF1 #F1E55E #69F15E
monochromatic
#5C11C4 #7926EC #9C5EF1 #BF96F6 #E1CFFB

Accessibility & contrast

On white

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

On black

5.28
#9C5EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5EF1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5EF1#FFFFFF#000000##000000
##9C5EF11.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#247EEE
Tritanopia (blue-blind)
#897E9F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9c5ef1;
/* rgb */ color: rgb(156, 94, 241);
/* oklch */ color: oklch(62.2% 0.212 299.6);
Tailwind
colors: {
  custom: {
    50: '#be8ef6',
    500: '#9c5ef1',
    950: '#000000',
  },
}
SCSS
$custom: #9c5ef1;
$custom-light: #be8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5ef1",
  "rgb": {
    "r": 156,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 265.306,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62169,
    "c": 0.21208,
    "h": 299.6
  },
  "luminance": 0.21424
}

Semantic roles & 50–950 ramp

primary
#9C5EF1
secondary
#D9EEBD
accent
#E00584
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #9C5EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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