#9C5AEE#9C5AEE

#9C5AEE is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.4% C 0.214 H 300.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9C5AEE
RGBrgb(156, 90, 238)
HSLhsl(267, 81%, 64%)
HSVhsv(267, 62%, 93%)
CMYKcmyk(34.5%, 62.2%, 0%, 6.7%)
CIE-LABlab(52.46, 55.62, -64.75)
CIE-LCHlch(52.46, 85.36, 310.66°)
OKLaboklab(61.42% 0.1095 -0.1839)
OKLCHoklch(61.42% 0.214 300.8)
XYZxyz(32.7954, 20.5531, 83.1117)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5AEE #ACEE5A
analogous
#5A62EE #9C5AEE #E65AEE
triadic
#9C5AEE #EE9C5A #5AEE9C
tetradic
#9C5AEE #EE5A62 #ACEE5A #5AEEE6
square
#9C5AEE #EE5A62 #ACEE5A #5AEEE6
split-complementary
#9C5AEE #EEE65A #62EE5A
monochromatic
#5E13BA #7B23E8 #9C5AEE #BD91F4 #DFC9F9

Accessibility & contrast

On white

4.11
#9C5AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#9C5AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5AEE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5AEE#FFFFFF#000000##000000
##9C5AEE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#217CEB
Tritanopia (blue-blind)
#8B7A9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c5aee;
/* rgb */ color: rgb(156, 90, 238);
/* oklch */ color: oklch(61.4% 0.214 300.8);
Tailwind
colors: {
  custom: {
    50: '#be8cf4',
    500: '#9c5aee',
    950: '#000000',
  },
}
SCSS
$custom: #9c5aee;
$custom-light: #be8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5aee",
  "rgb": {
    "r": 156,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 266.757,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61416,
    "c": 0.21407,
    "h": 300.8
  },
  "luminance": 0.20553
}

Semantic roles & 50–950 ramp

primary
#9C5AEE
secondary
#D5ECB8
accent
#DE087E
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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