#9C5CE9#9C5CE9

#9C5CE9 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.4% C 0.206 H 301.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9C5CE9
RGBrgb(156, 92, 233)
HSLhsl(267, 76%, 64%)
HSVhsv(267, 61%, 91%)
CMYKcmyk(33%, 60.5%, 0%, 8.6%)
CIE-LABlab(52.51, 53.39, -61.85)
CIE-LCHlch(52.51, 81.71, 310.80°)
OKLaboklab(61.36% 0.1075 -0.1754)
OKLCHoklch(61.36% 0.206 301.5)
XYZxyz(32.2420, 20.6053, 79.3536)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5CE9 #A9E95C
analogous
#5C62E9 #9C5CE9 #E25CE9
triadic
#9C5CE9 #E99C5C #5CE99C
tetradic
#9C5CE9 #E95C62 #A9E95C #5CE9E2
square
#9C5CE9 #E95C62 #A9E95C #5CE9E2
split-complementary
#9C5CE9 #E9E25C #62E95C
monochromatic
#5E18B3 #7B26E2 #9C5CE9 #BD92F0 #DDC8F8

Accessibility & contrast

On white

4.10
#9C5CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#9C5CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5CE9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5CE9#FFFFFF#000000##000000
##9C5CE91.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#2F7DE6
Tritanopia (blue-blind)
#8C7A9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c5ce9;
/* rgb */ color: rgb(156, 92, 233);
/* oklch */ color: oklch(61.4% 0.206 301.5);
Tailwind
colors: {
  custom: {
    50: '#be8df1',
    500: '#9c5ce9',
    950: '#000000',
  },
}
SCSS
$custom: #9c5ce9;
$custom-light: #be8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5ce9",
  "rgb": {
    "r": 156,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 267.234,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61355,
    "c": 0.20575,
    "h": 301.5
  },
  "luminance": 0.20605
}

Semantic roles & 50–950 ramp

primary
#9C5CE9
secondary
#D3E9B8
accent
#D80D7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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