#9C5CF5#9C5CF5

#9C5CF5 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.2% C 0.219 H 299.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9C5CF5
RGBrgb(156, 92, 245)
HSLhsl(265, 88%, 66%)
HSVhsv(265, 62%, 96%)
CMYKcmyk(36.3%, 62.4%, 0%, 3.9%)
CIE-LABlab(53.29, 56.32, -67.31)
CIE-LCHlch(53.29, 87.76, 309.92°)
OKLaboklab(62.17% 0.1068 -0.1915)
OKLCHoklch(62.17% 0.219 299.1)
XYZxyz(34.0148, 21.3144, 88.6905)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5CF5 #B5F55C
analogous
#5C68F5 #9C5CF5 #E85CF5
triadic
#9C5CF5 #F59C5C #5CF59C
tetradic
#9C5CF5 #F55C68 #B5F55C #5CF5E8
square
#9C5CF5 #F55C68 #B5F55C #5CF5E8
split-complementary
#9C5CF5 #F5E85C #68F55C
monochromatic
#5C0CCA #7922F1 #9C5CF5 #BF96F9 #E2CFFC

Accessibility & contrast

On white

3.99
#9C5CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9C5CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5CF5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5CF5#FFFFFF#000000##000000
##9C5CF51.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#127EF2
Tritanopia (blue-blind)
#887EA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c5cf5;
/* rgb */ color: rgb(156, 92, 245);
/* oklch */ color: oklch(62.2% 0.219 299.1);
Tailwind
colors: {
  custom: {
    50: '#bf8df9',
    500: '#9c5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #9c5cf5;
$custom-light: #bf8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5cf5",
  "rgb": {
    "r": 156,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 265.098,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62167,
    "c": 0.21925,
    "h": 299.1
  },
  "luminance": 0.21315
}

Semantic roles & 50–950 ramp

primary
#9C5CF5
secondary
#DBF0BD
accent
#E50085
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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