#9C5AE9#9C5AE9

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

Color values

HEX#9C5AE9
RGBrgb(156, 90, 233)
HSLhsl(268, 76%, 63%)
HSVhsv(268, 61%, 91%)
CMYKcmyk(33%, 61.4%, 0%, 8.6%)
CIE-LABlab(52.13, 54.41, -62.47)
CIE-LCHlch(52.13, 82.84, 311.06°)
OKLaboklab(61.08% 0.1098 -0.1772)
OKLCHoklch(61.08% 0.208 301.8)
XYZxyz(32.0710, 20.2633, 79.2966)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5AE9 #A7E95A
analogous
#5A5FE9 #9C5AE9 #E35AE9
triadic
#9C5AE9 #E99C5A #5AE99C
tetradic
#9C5AE9 #E95A5F #A7E95A #5AE9E3
square
#9C5AE9 #E95A5F #A7E95A #5AE9E3
split-complementary
#9C5AE9 #E9E35A #5FE95A
monochromatic
#5E18B1 #7C24E2 #9C5AE9 #BC90F0 #DDC6F7

Accessibility & contrast

On white

4.16
#9C5AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9C5AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5AE9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5AE9#FFFFFF#000000##000000
##9C5AE91.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#2B7CE6
Tritanopia (blue-blind)
#8C7899
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9c5ae9;
/* rgb */ color: rgb(156, 90, 233);
/* oklch */ color: oklch(61.1% 0.208 301.8);
Tailwind
colors: {
  custom: {
    50: '#be8cf1',
    500: '#9c5ae9',
    950: '#000000',
  },
}
SCSS
$custom: #9c5ae9;
$custom-light: #be8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5ae9",
  "rgb": {
    "r": 156,
    "g": 90,
    "b": 233
  },
  "hsl": {
    "h": 267.692,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61079,
    "c": 0.20848,
    "h": 301.8
  },
  "luminance": 0.20263
}

Semantic roles & 50–950 ramp

primary
#9C5AE9
secondary
#D1E9B6
accent
#D90D7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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