#9C5CE6#9C5CE6

#9C5CE6 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.2% C 0.202 H 302.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9C5CE6
RGBrgb(156, 92, 230)
HSLhsl(268, 73%, 63%)
HSVhsv(268, 60%, 90%)
CMYKcmyk(32.2%, 60%, 0%, 9.8%)
CIE-LABlab(52.33, 52.66, -60.47)
CIE-LCHlch(52.33, 80.19, 311.05°)
OKLaboklab(61.16% 0.1076 -0.1714)
OKLCHoklch(61.16% 0.202 302.1)
XYZxyz(31.8170, 20.4353, 77.1158)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5CE6 #A6E65C
analogous
#5C61E6 #9C5CE6 #E15CE6
triadic
#9C5CE6 #E69C5C #5CE69C
tetradic
#9C5CE6 #E65C61 #A6E65C #5CE6E1
square
#9C5CE6 #E65C61 #A6E65C #5CE6E1
split-complementary
#9C5CE6 #E6E15C #61E65C
monochromatic
#5E1BAD #7C27DE #9C5CE6 #BC91EE #DCC6F6

Accessibility & contrast

On white

4.13
#9C5CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9C5CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5CE6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5CE6#FFFFFF#000000##000000
##9C5CE61.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#047CEA
Deuteranopia (green-blind)
#347CE3
Tritanopia (blue-blind)
#8D7998
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c5ce6;
/* rgb */ color: rgb(156, 92, 230);
/* oklch */ color: oklch(61.2% 0.202 302.1);
Tailwind
colors: {
  custom: {
    50: '#be8def',
    500: '#9c5ce6',
    950: '#000000',
  },
}
SCSS
$custom: #9c5ce6;
$custom-light: #be8def;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5ce6",
  "rgb": {
    "r": 156,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 267.826,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61158,
    "c": 0.20235,
    "h": 302.1
  },
  "luminance": 0.20435
}

Semantic roles & 50–950 ramp

primary
#9C5CE6
secondary
#D1E8B6
accent
#D6107A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9C5CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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