#9C5CF6#9C5CF6

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

Color values

HEX#9C5CF6
RGBrgb(156, 92, 246)
HSLhsl(265, 90%, 66%)
HSVhsv(265, 63%, 96%)
CMYKcmyk(36.6%, 62.6%, 0%, 3.5%)
CIE-LABlab(53.36, 56.56, -67.76)
CIE-LCHlch(53.36, 88.27, 309.85°)
OKLaboklab(62.24% 0.1067 -0.1928)
OKLCHoklch(62.24% 0.22 299)
XYZxyz(34.1679, 21.3756, 89.4967)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5CF6 #B6F65C
analogous
#5C69F6 #9C5CF6 #E95CF6
triadic
#9C5CF6 #F69C5C #5CF69C
tetradic
#9C5CF6 #F65C69 #B6F65C #5CF6E9
square
#9C5CF6 #F65C69 #B6F65C #5CF6E9
split-complementary
#9C5CF6 #F6E95C #69F65C
monochromatic
#5C0BCC #7922F3 #9C5CF6 #BF96F9 #E2D0FC

Accessibility & contrast

On white

3.98
#9C5CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C5CF6#FFFFFF#000000##000000
##9C5CF61.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#0D7EF3
Tritanopia (blue-blind)
#887EA1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c5cf6;
/* rgb */ color: rgb(156, 92, 246);
/* oklch */ color: oklch(62.2% 0.220 299.0);
Tailwind
colors: {
  custom: {
    50: '#bf8dfa',
    500: '#9c5cf6',
    950: '#000000',
  },
}
SCSS
$custom: #9c5cf6;
$custom-light: #bf8dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5cf6",
  "rgb": {
    "r": 156,
    "g": 92,
    "b": 246
  },
  "hsl": {
    "h": 264.935,
    "s": 89.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62236,
    "c": 0.22037,
    "h": 299
  },
  "luminance": 0.21376
}

Semantic roles & 50–950 ramp

primary
#9C5CF6
secondary
#DBF0BE
accent
#E60086
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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