#9C5EEC#9C5EEC

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

Color values

HEX#9C5EEC
RGBrgb(156, 94, 236)
HSLhsl(266, 79%, 65%)
HSVhsv(266, 60%, 93%)
CMYKcmyk(33.9%, 60.2%, 0%, 7.5%)
CIE-LABlab(53.09, 53.08, -62.61)
CIE-LCHlch(53.09, 82.08, 310.29°)
OKLaboklab(61.83% 0.1051 -0.1777)
OKLCHoklch(61.83% 0.206 300.6)
XYZxyz(32.8497, 21.1292, 81.6883)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5EEC #AEEC5E
analogous
#5E67EC #9C5EEC #E35EEC
triadic
#9C5EEC #EC9C5E #5EEC9C
tetradic
#9C5EEC #EC5E67 #AEEC5E #5EECE3
square
#9C5EEC #EC5E67 #AEEC5E #5EECE3
split-complementary
#9C5EEC #ECE35E #67EC5E
monochromatic
#5D16BA #7A27E6 #9C5EEC #BE95F2 #DFCBF9

Accessibility & contrast

On white

4.02
#9C5EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9C5EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5EEC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5EEC#FFFFFF#000000##000000
##9C5EEC1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#2E7EE9
Tritanopia (blue-blind)
#8B7C9C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c5eec;
/* rgb */ color: rgb(156, 94, 236);
/* oklch */ color: oklch(61.8% 0.206 300.6);
Tailwind
colors: {
  custom: {
    50: '#be8ef3',
    500: '#9c5eec',
    950: '#000000',
  },
}
SCSS
$custom: #9c5eec;
$custom-light: #be8ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5eec",
  "rgb": {
    "r": 156,
    "g": 94,
    "b": 236
  },
  "hsl": {
    "h": 266.197,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61835,
    "c": 0.20639,
    "h": 300.6
  },
  "luminance": 0.21129
}

Semantic roles & 50–950 ramp

primary
#9C5EEC
secondary
#D6EBBB
accent
#DB0A80
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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