#9C5DF6#9C5DF6

#9C5DF6 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.4% C 0.219 H 298.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9C5DF6
RGBrgb(156, 93, 246)
HSLhsl(265, 89%, 66%)
HSVhsv(265, 62%, 96%)
CMYKcmyk(36.6%, 62.2%, 0%, 3.5%)
CIE-LABlab(53.55, 56.05, -67.46)
CIE-LCHlch(53.55, 87.71, 309.72°)
OKLaboklab(62.37% 0.1056 -0.1919)
OKLCHoklch(62.37% 0.219 298.8)
XYZxyz(34.2551, 21.5500, 89.5258)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5DF6 #B7F65D
analogous
#5D6BF6 #9C5DF6 #E95DF6
triadic
#9C5DF6 #F69C5D #5DF69C
tetradic
#9C5DF6 #F65D6B #B7F65D #5DF6E9
square
#9C5DF6 #F65D6B #B7F65D #5DF6E9
split-complementary
#9C5DF6 #F6E95D #6BF65D
monochromatic
#5B0BCD #7923F3 #9C5DF6 #BF97F9 #E3D1FC

Accessibility & contrast

On white

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

On black

5.31
#9C5DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5DF6
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5DF6#FFFFFF#000000##000000
##9C5DF61.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FB
Deuteranopia (green-blind)
#127EF3
Tritanopia (blue-blind)
#887FA1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9c5df6;
/* rgb */ color: rgb(156, 93, 246);
/* oklch */ color: oklch(62.4% 0.219 298.8);
Tailwind
colors: {
  custom: {
    50: '#bf8efa',
    500: '#9c5df6',
    950: '#000000',
  },
}
SCSS
$custom: #9c5df6;
$custom-light: #bf8efa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5df6",
  "rgb": {
    "r": 156,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 264.706,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62372,
    "c": 0.21905,
    "h": 298.8
  },
  "luminance": 0.2155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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