#9C5CEE#9C5CEE

#9C5CEE is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.7% C 0.211 H 300.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9C5CEE
RGBrgb(156, 92, 238)
HSLhsl(266, 81%, 65%)
HSVhsv(266, 61%, 93%)
CMYKcmyk(34.5%, 61.3%, 0%, 6.7%)
CIE-LABlab(52.83, 54.60, -64.14)
CIE-LCHlch(52.83, 84.24, 310.41°)
OKLaboklab(61.69% 0.1072 -0.1822)
OKLCHoklch(61.69% 0.211 300.5)
XYZxyz(32.9663, 20.8950, 83.1687)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5CEE #AEEE5C
analogous
#5C65EE #9C5CEE #E55CEE
triadic
#9C5CEE #EE9C5C #5CEE9C
tetradic
#9C5CEE #EE5C65 #AEEE5C #5CEEE5
square
#9C5CEE #EE5C65 #AEEE5C #5CEEE5
split-complementary
#9C5CEE #EEE55C #65EE5C
monochromatic
#5D14BC #7A25E8 #9C5CEE #BE93F4 #DFCBFA

Accessibility & contrast

On white

4.05
#9C5CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9C5CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5CEE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5CEE#FFFFFF#000000##000000
##9C5CEE1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#267DEB
Tritanopia (blue-blind)
#8B7B9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9c5cee;
/* rgb */ color: rgb(156, 92, 238);
/* oklch */ color: oklch(61.7% 0.211 300.5);
Tailwind
colors: {
  custom: {
    50: '#be8df4',
    500: '#9c5cee',
    950: '#000000',
  },
}
SCSS
$custom: #9c5cee;
$custom-light: #be8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5cee",
  "rgb": {
    "r": 156,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 266.301,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6169,
    "c": 0.21138,
    "h": 300.5
  },
  "luminance": 0.20895
}

Semantic roles & 50–950 ramp

primary
#9C5CEE
secondary
#D6ECBA
accent
#DD0880
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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