#9C5CE8#9C5CE8

#9C5CE8 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.3% C 0.205 H 301.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9C5CE8
RGBrgb(156, 92, 232)
HSLhsl(267, 75%, 64%)
HSVhsv(267, 60%, 91%)
CMYKcmyk(32.8%, 60.3%, 0%, 9%)
CIE-LABlab(52.45, 53.15, -61.39)
CIE-LCHlch(52.45, 81.20, 310.88°)
OKLaboklab(61.29% 0.1075 -0.1741)
OKLCHoklch(61.29% 0.205 301.7)
XYZxyz(32.0995, 20.5483, 78.6034)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5CE8 #A8E85C
analogous
#5C62E8 #9C5CE8 #E25CE8
triadic
#9C5CE8 #E89C5C #5CE89C
tetradic
#9C5CE8 #E85C62 #A8E85C #5CE8E2
square
#9C5CE8 #E85C62 #A8E85C #5CE8E2
split-complementary
#9C5CE8 #E8E25C #62E85C
monochromatic
#5E19B1 #7B26E0 #9C5CE8 #BD92F0 #DDC7F7

Accessibility & contrast

On white

4.11
#9C5CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#9C5CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5CE8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5CE8#FFFFFF#000000##000000
##9C5CE81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#317DE5
Tritanopia (blue-blind)
#8D7999
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c5ce8;
/* rgb */ color: rgb(156, 92, 232);
/* oklch */ color: oklch(61.3% 0.205 301.7);
Tailwind
colors: {
  custom: {
    50: '#be8df0',
    500: '#9c5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #9c5ce8;
$custom-light: #be8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5ce8",
  "rgb": {
    "r": 156,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 267.429,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61289,
    "c": 0.20462,
    "h": 301.7
  },
  "luminance": 0.20548
}

Semantic roles & 50–950 ramp

primary
#9C5CE8
secondary
#D2E9B7
accent
#D70E7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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