#9C5AEA#9C5AEA

#9C5AEA is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.1% C 0.210 H 301.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9C5AEA
RGBrgb(156, 90, 234)
HSLhsl(268, 77%, 64%)
HSVhsv(268, 62%, 92%)
CMYKcmyk(33.3%, 61.5%, 0%, 8.2%)
CIE-LABlab(52.20, 54.65, -62.93)
CIE-LCHlch(52.20, 83.35, 310.98°)
OKLaboklab(61.15% 0.1097 -0.1786)
OKLCHoklch(61.15% 0.21 301.6)
XYZxyz(32.2142, 20.3206, 80.0511)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5AEA #A8EA5A
analogous
#5A60EA #9C5AEA #E45AEA
triadic
#9C5AEA #EA9C5A #5AEA9C
tetradic
#9C5AEA #EA5A60 #A8EA5A #5AEAE4
square
#9C5AEA #EA5A60 #A8EA5A #5AEAE4
split-complementary
#9C5AEA #EAE45A #60EA5A
monochromatic
#5E17B3 #7B24E3 #9C5AEA #BD90F1 #DDC7F8

Accessibility & contrast

On white

4.15
#9C5AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9C5AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5AEA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5AEA#FFFFFF#000000##000000
##9C5AEA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#297CE7
Tritanopia (blue-blind)
#8C799A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9c5aea;
/* rgb */ color: rgb(156, 90, 234);
/* oklch */ color: oklch(61.1% 0.210 301.6);
Tailwind
colors: {
  custom: {
    50: '#be8cf1',
    500: '#9c5aea',
    950: '#000000',
  },
}
SCSS
$custom: #9c5aea;
$custom-light: #be8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5aea",
  "rgb": {
    "r": 156,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 267.5,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61146,
    "c": 0.2096,
    "h": 301.6
  },
  "luminance": 0.20321
}

Semantic roles & 50–950 ramp

primary
#9C5AEA
secondary
#D2E9B6
accent
#DA0C7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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