#9C5AE5#9C5AE5

#9C5AE5 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.204 H 302.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9C5AE5
RGBrgb(156, 90, 229)
HSLhsl(268, 73%, 63%)
HSVhsv(268, 61%, 90%)
CMYKcmyk(31.9%, 60.7%, 0%, 10.2%)
CIE-LABlab(51.88, 53.45, -60.63)
CIE-LCHlch(51.88, 80.83, 311.40°)
OKLaboklab(60.81% 0.11 -0.1718)
OKLCHoklch(60.81% 0.204 302.6)
XYZxyz(31.5061, 20.0374, 76.3213)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5AE5 #A3E55A
analogous
#5A5EE5 #9C5AE5 #E15AE5
triadic
#9C5AE5 #E59C5A #5AE59C
tetradic
#9C5AE5 #E55A5E #A3E55A #5AE5E1
square
#9C5AE5 #E55A5E #A3E55A #5AE5E1
split-complementary
#9C5AE5 #E5E15A #5EE55A
monochromatic
#5F1BAA #7C25DD #9C5AE5 #BC8FED #DBC4F6

Accessibility & contrast

On white

4.19
#9C5AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#9C5AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5AE5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5AE5#FFFFFF#000000##000000
##9C5AE51.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#327BE2
Tritanopia (blue-blind)
#8E7797
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9c5ae5;
/* rgb */ color: rgb(156, 90, 229);
/* oklch */ color: oklch(60.8% 0.204 302.6);
Tailwind
colors: {
  custom: {
    50: '#be8cee',
    500: '#9c5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #9c5ae5;
$custom-light: #be8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5ae5",
  "rgb": {
    "r": 156,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 268.489,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60813,
    "c": 0.204,
    "h": 302.6
  },
  "luminance": 0.20037
}

Semantic roles & 50–950 ramp

primary
#9C5AE5
secondary
#CFE7B4
accent
#D51178
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9C5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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