#9C5EE8#9C5EE8

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

Color values

HEX#9C5EE8
RGBrgb(156, 94, 232)
HSLhsl(267, 75%, 64%)
HSVhsv(267, 59%, 91%)
CMYKcmyk(32.8%, 59.5%, 0%, 9%)
CIE-LABlab(52.84, 52.11, -60.77)
CIE-LCHlch(52.84, 80.05, 310.61°)
OKLaboklab(61.57% 0.1052 -0.1723)
OKLCHoklch(61.57% 0.202 301.4)
XYZxyz(32.2751, 20.8994, 78.6619)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5EE8 #AAE85E
analogous
#5E65E8 #9C5EE8 #E15EE8
triadic
#9C5EE8 #E89C5E #5EE89C
tetradic
#9C5EE8 #E85E65 #AAE85E #5EE8E1
square
#9C5EE8 #E85E65 #AAE85E #5EE8E1
split-complementary
#9C5EE8 #E8E15E #65E85E
monochromatic
#5E19B2 #7B28E0 #9C5EE8 #BD94F0 #DEC9F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C5EE8#FFFFFF#000000##000000
##9C5EE81.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)
#0A7DEC
Deuteranopia (green-blind)
#347DE5
Tritanopia (blue-blind)
#8D7B9A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9c5ee8;
/* rgb */ color: rgb(156, 94, 232);
/* oklch */ color: oklch(61.6% 0.202 301.4);
Tailwind
colors: {
  custom: {
    50: '#be8ef0',
    500: '#9c5ee8',
    950: '#000000',
  },
}
SCSS
$custom: #9c5ee8;
$custom-light: #be8ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5ee8",
  "rgb": {
    "r": 156,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 266.957,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61572,
    "c": 0.20183,
    "h": 301.4
  },
  "luminance": 0.209
}

Semantic roles & 50–950 ramp

primary
#9C5EE8
secondary
#D3E9B9
accent
#D70E7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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