#9C5EEB#9C5EEB

#9C5EEB is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.8% C 0.205 H 300.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9C5EEB
RGBrgb(156, 94, 235)
HSLhsl(266, 78%, 65%)
HSVhsv(266, 60%, 92%)
CMYKcmyk(33.6%, 60%, 0%, 7.8%)
CIE-LABlab(53.03, 52.84, -62.15)
CIE-LCHlch(53.03, 81.58, 310.37°)
OKLaboklab(61.77% 0.1051 -0.1763)
OKLCHoklch(61.77% 0.205 300.8)
XYZxyz(32.7048, 21.0713, 80.9253)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5EEB #ADEB5E
analogous
#5E67EB #9C5EEB #E35EEB
triadic
#9C5EEB #EB9C5E #5EEB9C
tetradic
#9C5EEB #EB5E67 #ADEB5E #5EEBE3
square
#9C5EEB #EB5E67 #ADEB5E #5EEBE3
split-complementary
#9C5EEB #EBE35E #67EB5E
monochromatic
#5E17B8 #7B28E4 #9C5EEB #BD94F2 #DFCBF9

Accessibility & contrast

On white

4.03
#9C5EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9C5EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5EEB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5EEB#FFFFFF#000000##000000
##9C5EEB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#307EE8
Tritanopia (blue-blind)
#8C7C9C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c5eeb;
/* rgb */ color: rgb(156, 94, 235);
/* oklch */ color: oklch(61.8% 0.205 300.8);
Tailwind
colors: {
  custom: {
    50: '#be8ef2',
    500: '#9c5eeb',
    950: '#000000',
  },
}
SCSS
$custom: #9c5eeb;
$custom-light: #be8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5eeb",
  "rgb": {
    "r": 156,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 266.383,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61769,
    "c": 0.20525,
    "h": 300.8
  },
  "luminance": 0.21071
}

Semantic roles & 50–950 ramp

primary
#9C5EEB
secondary
#D5EBBA
accent
#DA0B7F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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