#9C5AEC#9C5AEC

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

Color values

HEX#9C5AEC
RGBrgb(156, 90, 236)
HSLhsl(267, 79%, 64%)
HSVhsv(267, 62%, 93%)
CMYKcmyk(33.9%, 61.9%, 0%, 7.5%)
CIE-LABlab(52.33, 55.14, -63.84)
CIE-LCHlch(52.33, 84.35, 310.82°)
OKLaboklab(61.28% 0.1096 -0.1813)
OKLCHoklch(61.28% 0.212 301.2)
XYZxyz(32.5032, 20.4362, 81.5728)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5AEC #AAEC5A
analogous
#5A61EC #9C5AEC #E55AEC
triadic
#9C5AEC #EC9C5A #5AEC9C
tetradic
#9C5AEC #EC5A61 #AAEC5A #5AECE5
square
#9C5AEC #EC5A61 #AAEC5A #5AECE5
split-complementary
#9C5AEC #ECE55A #61EC5A
monochromatic
#5E15B7 #7B23E6 #9C5AEC #BD91F2 #DEC8F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C5AEC#FFFFFF#000000##000000
##9C5AEC1.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)
#007CF1
Deuteranopia (green-blind)
#257CE9
Tritanopia (blue-blind)
#8B7A9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c5aec;
/* rgb */ color: rgb(156, 90, 236);
/* oklch */ color: oklch(61.3% 0.212 301.2);
Tailwind
colors: {
  custom: {
    50: '#be8cf3',
    500: '#9c5aec',
    950: '#000000',
  },
}
SCSS
$custom: #9c5aec;
$custom-light: #be8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5aec",
  "rgb": {
    "r": 156,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 267.123,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6128,
    "c": 0.21183,
    "h": 301.2
  },
  "luminance": 0.20436
}

Semantic roles & 50–950 ramp

primary
#9C5AEC
secondary
#D3EBB7
accent
#DC0A7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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