#9C5EED#9C5EED

#9C5EED is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.9% C 0.208 H 300.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9C5EED
RGBrgb(156, 94, 237)
HSLhsl(266, 80%, 65%)
HSVhsv(266, 60%, 93%)
CMYKcmyk(34.2%, 60.3%, 0%, 7.1%)
CIE-LABlab(53.15, 53.33, -63.07)
CIE-LCHlch(53.15, 82.59, 310.22°)
OKLaboklab(61.9% 0.105 -0.179)
OKLCHoklch(61.9% 0.208 300.4)
XYZxyz(32.9954, 21.1875, 82.4556)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5EED #AFED5E
analogous
#5E68ED #9C5EED #E35EED
triadic
#9C5EED #ED9C5E #5EED9C
tetradic
#9C5EED #ED5E68 #AFED5E #5EEDE3
square
#9C5EED #ED5E68 #AFED5E #5EEDE3
split-complementary
#9C5EED #EDE35E #68ED5E
monochromatic
#5D15BC #7A27E7 #9C5EED #BE95F3 #E0CCF9

Accessibility & contrast

On white

4.01
#9C5EED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9C5EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5EED
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5EED#FFFFFF#000000##000000
##9C5EED1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#2C7EEA
Tritanopia (blue-blind)
#8B7C9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c5eed;
/* rgb */ color: rgb(156, 94, 237);
/* oklch */ color: oklch(61.9% 0.208 300.4);
Tailwind
colors: {
  custom: {
    50: '#be8ef4',
    500: '#9c5eed',
    950: '#000000',
  },
}
SCSS
$custom: #9c5eed;
$custom-light: #be8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5eed",
  "rgb": {
    "r": 156,
    "g": 94,
    "b": 237
  },
  "hsl": {
    "h": 266.014,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61902,
    "c": 0.20754,
    "h": 300.4
  },
  "luminance": 0.21188
}

Semantic roles & 50–950 ramp

primary
#9C5EED
secondary
#D7ECBB
accent
#DC0981
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5EED

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

Preview Lab → · Contrast checker → · Palette generator →

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