#9C5CE0#9C5CE0

#9C5CE0 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.8% C 0.196 H 303.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9C5CE0
RGBrgb(156, 92, 224)
HSLhsl(269, 68%, 62%)
HSVhsv(269, 59%, 88%)
CMYKcmyk(30.4%, 58.9%, 0%, 12.2%)
CIE-LABlab(51.95, 51.22, -57.69)
CIE-LCHlch(51.95, 77.15, 311.61°)
OKLaboklab(60.77% 0.1077 -0.1632)
OKLCHoklch(60.77% 0.196 303.4)
XYZxyz(30.9890, 20.1041, 72.7545)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5CE0 #A0E05C
analogous
#5C5EE0 #9C5CE0 #DE5CE0
triadic
#9C5CE0 #E09C5C #5CE09C
tetradic
#9C5CE0 #E05C5E #A0E05C #5CE0DE
square
#9C5CE0 #E05C5E #A0E05C #5CE0DE
split-complementary
#9C5CE0 #E0DE5C #5EE05C
monochromatic
#5F1FA3 #7D29D6 #9C5CE0 #BB8FEA #DAC3F4

Accessibility & contrast

On white

4.18
#9C5CE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9C5CE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5CE0
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5CE0#FFFFFF#000000##000000
##9C5CE01.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7AE4
Deuteranopia (green-blind)
#3B7CDD
Tritanopia (blue-blind)
#8F7795
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9c5ce0;
/* rgb */ color: rgb(156, 92, 224);
/* oklch */ color: oklch(60.8% 0.196 303.4);
Tailwind
colors: {
  custom: {
    50: '#bd8dea',
    500: '#9c5ce0',
    950: '#000000',
  },
}
SCSS
$custom: #9c5ce0;
$custom-light: #bd8dea;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5ce0",
  "rgb": {
    "r": 156,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 269.091,
    "s": 68.041,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60768,
    "c": 0.19554,
    "h": 303.4
  },
  "luminance": 0.20104
}

Semantic roles & 50–950 ramp

primary
#9C5CE0
secondary
#CDE4B4
accent
#D01676
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C5CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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