#9C5DE9#9C5DE9

#9C5DE9 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.5% C 0.204 H 301.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9C5DE9
RGBrgb(156, 93, 233)
HSLhsl(267, 76%, 64%)
HSVhsv(267, 60%, 91%)
CMYKcmyk(33%, 60.1%, 0%, 8.6%)
CIE-LABlab(52.71, 52.87, -61.54)
CIE-LCHlch(52.71, 81.14, 310.67°)
OKLaboklab(61.5% 0.1063 -0.1745)
OKLCHoklch(61.5% 0.204 301.3)
XYZxyz(32.3292, 20.7797, 79.3827)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5DE9 #AAE95D
analogous
#5D64E9 #9C5DE9 #E25DE9
triadic
#9C5DE9 #E99C5D #5DE99C
tetradic
#9C5DE9 #E95D64 #AAE95D #5DE9E2
square
#9C5DE9 #E95D64 #AAE95D #5DE9E2
split-complementary
#9C5DE9 #E9E25D #64E95D
monochromatic
#5E18B3 #7B27E2 #9C5DE9 #BD93F0 #DEC9F8

Accessibility & contrast

On white

4.07
#9C5DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9C5DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5DE9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5DE9#FFFFFF#000000##000000
##9C5DE91.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DED
Deuteranopia (green-blind)
#317DE6
Tritanopia (blue-blind)
#8C7A9A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9c5de9;
/* rgb */ color: rgb(156, 93, 233);
/* oklch */ color: oklch(61.5% 0.204 301.3);
Tailwind
colors: {
  custom: {
    50: '#be8ef1',
    500: '#9c5de9',
    950: '#000000',
  },
}
SCSS
$custom: #9c5de9;
$custom-light: #be8ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5de9",
  "rgb": {
    "r": 156,
    "g": 93,
    "b": 233
  },
  "hsl": {
    "h": 267,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61496,
    "c": 0.20436,
    "h": 301.3
  },
  "luminance": 0.2078
}

Semantic roles & 50–950 ramp

primary
#9C5DE9
secondary
#D3E9B8
accent
#D80D7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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