#9C5EEF#9C5EEF

#9C5EEF is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.0% C 0.210 H 300.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9C5EEF
RGBrgb(156, 94, 239)
HSLhsl(266, 82%, 65%)
HSVhsv(266, 61%, 94%)
CMYKcmyk(34.7%, 60.7%, 0%, 6.3%)
CIE-LABlab(53.28, 53.82, -63.98)
CIE-LCHlch(53.28, 83.60, 310.07°)
OKLaboklab(62.04% 0.1049 -0.1817)
OKLCHoklch(62.04% 0.21 300)
XYZxyz(33.2892, 21.3051, 84.0031)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5EEF #B1EF5E
analogous
#5E68EF #9C5EEF #E45EEF
triadic
#9C5EEF #EF9C5E #5EEF9C
tetradic
#9C5EEF #EF5E68 #B1EF5E #5EEFE4
square
#9C5EEF #EF5E68 #B1EF5E #5EEFE4
split-complementary
#9C5EEF #EFE45E #68EF5E
monochromatic
#5D13C0 #7A26E9 #9C5EEF #BE96F5 #E0CDFA

Accessibility & contrast

On white

3.99
#9C5EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9C5EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5EEF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5EEF#FFFFFF#000000##000000
##9C5EEF1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#287EEC
Tritanopia (blue-blind)
#8A7D9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c5eef;
/* rgb */ color: rgb(156, 94, 239);
/* oklch */ color: oklch(62.0% 0.210 300.0);
Tailwind
colors: {
  custom: {
    50: '#be8ef5',
    500: '#9c5eef',
    950: '#000000',
  },
}
SCSS
$custom: #9c5eef;
$custom-light: #be8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5eef",
  "rgb": {
    "r": 156,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 265.655,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62035,
    "c": 0.20981,
    "h": 300
  },
  "luminance": 0.21305
}

Semantic roles & 50–950 ramp

primary
#9C5EEF
secondary
#D8EDBC
accent
#DE0782
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85

Preview Lab

Preview with #9C5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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