#9C5EEA#9C5EEA

#9C5EEA is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.7% C 0.204 H 301.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9C5EEA
RGBrgb(156, 94, 234)
HSLhsl(267, 77%, 64%)
HSVhsv(267, 60%, 92%)
CMYKcmyk(33.3%, 59.8%, 0%, 8.2%)
CIE-LABlab(52.96, 52.59, -61.69)
CIE-LCHlch(52.96, 81.07, 310.45°)
OKLaboklab(61.7% 0.1051 -0.175)
OKLCHoklch(61.7% 0.204 301)
XYZxyz(32.5608, 21.0137, 80.1666)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5EEA #ACEA5E
analogous
#5E66EA #9C5EEA #E25EEA
triadic
#9C5EEA #EA9C5E #5EEA9C
tetradic
#9C5EEA #EA5E66 #ACEA5E #5EEAE2
square
#9C5EEA #EA5E66 #ACEA5E #5EEAE2
split-complementary
#9C5EEA #EAE25E #66EA5E
monochromatic
#5E18B6 #7B28E3 #9C5EEA #BD94F1 #DFCAF8

Accessibility & contrast

On white

4.04
#9C5EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9C5EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5EEA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5EEA#FFFFFF#000000##000000
##9C5EEA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEE
Deuteranopia (green-blind)
#317EE7
Tritanopia (blue-blind)
#8C7B9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9c5eea;
/* rgb */ color: rgb(156, 94, 234);
/* oklch */ color: oklch(61.7% 0.204 301.0);
Tailwind
colors: {
  custom: {
    50: '#be8ef1',
    500: '#9c5eea',
    950: '#000000',
  },
}
SCSS
$custom: #9c5eea;
$custom-light: #be8ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5eea",
  "rgb": {
    "r": 156,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 266.571,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61703,
    "c": 0.20411,
    "h": 301
  },
  "luminance": 0.21014
}

Semantic roles & 50–950 ramp

primary
#9C5EEA
secondary
#D5EABA
accent
#D90C7E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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