#9C5EEE#9C5EEE

#9C5EEE is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 62.0% C 0.209 H 300.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9C5EEE
RGBrgb(156, 94, 238)
HSLhsl(266, 81%, 65%)
HSVhsv(266, 61%, 93%)
CMYKcmyk(34.5%, 60.5%, 0%, 6.7%)
CIE-LABlab(53.22, 53.57, -63.52)
CIE-LCHlch(53.22, 83.10, 310.14°)
OKLaboklab(61.97% 0.105 -0.1803)
OKLCHoklch(61.97% 0.209 300.2)
XYZxyz(33.1419, 21.2461, 83.2272)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5EEE #B0EE5E
analogous
#5E68EE #9C5EEE #E45EEE
triadic
#9C5EEE #EE9C5E #5EEE9C
tetradic
#9C5EEE #EE5E68 #B0EE5E #5EEEE4
square
#9C5EEE #EE5E68 #B0EE5E #5EEEE4
split-complementary
#9C5EEE #EEE45E #68EE5E
monochromatic
#5D14BE #7A27E8 #9C5EEE #BE95F4 #E0CDFA

Accessibility & contrast

On white

4.00
#9C5EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9C5EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5EEE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5EEE#FFFFFF#000000##000000
##9C5EEE1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#2A7EEB
Tritanopia (blue-blind)
#8A7D9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c5eee;
/* rgb */ color: rgb(156, 94, 238);
/* oklch */ color: oklch(62.0% 0.209 300.2);
Tailwind
colors: {
  custom: {
    50: '#be8ef4',
    500: '#9c5eee',
    950: '#000000',
  },
}
SCSS
$custom: #9c5eee;
$custom-light: #be8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5eee",
  "rgb": {
    "r": 156,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 265.833,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61968,
    "c": 0.20867,
    "h": 300.2
  },
  "luminance": 0.21246
}

Semantic roles & 50–950 ramp

primary
#9C5EEE
secondary
#D7ECBB
accent
#DD0882
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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