#9C5DEB#9C5DEB

#9C5DEB is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.6% C 0.207 H 300.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9C5DEB
RGBrgb(156, 93, 235)
HSLhsl(267, 78%, 64%)
HSVhsv(267, 60%, 92%)
CMYKcmyk(33.6%, 60.4%, 0%, 7.8%)
CIE-LABlab(52.83, 53.36, -62.46)
CIE-LCHlch(52.83, 82.15, 310.50°)
OKLaboklab(61.63% 0.1062 -0.1772)
OKLCHoklch(61.63% 0.207 300.9)
XYZxyz(32.6165, 20.8946, 80.8959)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5DEB #ACEB5D
analogous
#5D65EB #9C5DEB #E35DEB
triadic
#9C5DEB #EB9C5D #5DEB9C
tetradic
#9C5DEB #EB5D65 #ACEB5D #5DEBE3
square
#9C5DEB #EB5D65 #ACEB5D #5DEBE3
split-complementary
#9C5DEB #EBE35D #65EB5D
monochromatic
#5E17B7 #7B27E4 #9C5DEB #BD93F2 #DFCAF8

Accessibility & contrast

On white

4.05
#9C5DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9C5DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5DEB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5DEB#FFFFFF#000000##000000
##9C5DEB1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#2E7DE8
Tritanopia (blue-blind)
#8C7B9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9c5deb;
/* rgb */ color: rgb(156, 93, 235);
/* oklch */ color: oklch(61.6% 0.207 300.9);
Tailwind
colors: {
  custom: {
    50: '#be8ef2',
    500: '#9c5deb',
    950: '#000000',
  },
}
SCSS
$custom: #9c5deb;
$custom-light: #be8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5deb",
  "rgb": {
    "r": 156,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 266.62,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61628,
    "c": 0.20663,
    "h": 300.9
  },
  "luminance": 0.20895
}

Semantic roles & 50–950 ramp

primary
#9C5DEB
secondary
#D5EBB9
accent
#DA0B7E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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