#9C5AE3#9C5AE3

#9C5AE3 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.7% C 0.202 H 303.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9C5AE3
RGBrgb(156, 90, 227)
HSLhsl(269, 71%, 62%)
HSVhsv(269, 60%, 89%)
CMYKcmyk(31.3%, 60.4%, 0%, 11%)
CIE-LABlab(51.75, 52.97, -59.70)
CIE-LCHlch(51.75, 79.82, 311.58°)
OKLaboklab(60.68% 0.11 -0.1691)
OKLCHoklch(60.68% 0.202 303.1)
XYZxyz(31.2284, 19.9263, 74.8591)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5AE3 #A1E35A
analogous
#5A5DE3 #9C5AE3 #E05AE3
triadic
#9C5AE3 #E39C5A #5AE39C
tetradic
#9C5AE3 #E35A5D #A1E35A #5AE3E0
square
#9C5AE3 #E35A5D #A1E35A #5AE3E0
split-complementary
#9C5AE3 #E3E05A #5DE35A
monochromatic
#5F1CA6 #7D26DA #9C5AE3 #BB8EEC #DBC3F5

Accessibility & contrast

On white

4.21
#9C5AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#9C5AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5AE3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5AE3#FFFFFF#000000##000000
##9C5AE31.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#037AE7
Deuteranopia (green-blind)
#357BE0
Tritanopia (blue-blind)
#8E7696
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9c5ae3;
/* rgb */ color: rgb(156, 90, 227);
/* oklch */ color: oklch(60.7% 0.202 303.1);
Tailwind
colors: {
  custom: {
    50: '#bd8cec',
    500: '#9c5ae3',
    950: '#000000',
  },
}
SCSS
$custom: #9c5ae3;
$custom-light: #bd8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5ae3",
  "rgb": {
    "r": 156,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 268.905,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60681,
    "c": 0.20176,
    "h": 303.1
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#9C5AE3
secondary
#CDE6B3
accent
#D31276
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C5AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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