#9C5CE5#9C5CE5

#9C5CE5 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.1% C 0.201 H 302.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9C5CE5
RGBrgb(156, 92, 229)
HSLhsl(268, 72%, 63%)
HSVhsv(268, 60%, 90%)
CMYKcmyk(31.9%, 59.8%, 0%, 10.2%)
CIE-LABlab(52.26, 52.42, -60.01)
CIE-LCHlch(52.26, 79.68, 311.14°)
OKLaboklab(61.09% 0.1076 -0.17)
OKLCHoklch(61.09% 0.201 302.3)
XYZxyz(31.6770, 20.3793, 76.3783)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5CE5 #A5E55C
analogous
#5C60E5 #9C5CE5 #E05CE5
triadic
#9C5CE5 #E59C5C #5CE59C
tetradic
#9C5CE5 #E55C60 #A5E55C #5CE5E0
square
#9C5CE5 #E55C60 #A5E55C #5CE5E0
split-complementary
#9C5CE5 #E5E05C #60E55C
monochromatic
#5F1BAB #7C27DD #9C5CE5 #BC91ED #DCC6F6

Accessibility & contrast

On white

4.14
#9C5CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9C5CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5CE5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5CE5#FFFFFF#000000##000000
##9C5CE51.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#097CE9
Deuteranopia (green-blind)
#357CE2
Tritanopia (blue-blind)
#8E7898
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c5ce5;
/* rgb */ color: rgb(156, 92, 229);
/* oklch */ color: oklch(61.1% 0.201 302.3);
Tailwind
colors: {
  custom: {
    50: '#bd8dee',
    500: '#9c5ce5',
    950: '#000000',
  },
}
SCSS
$custom: #9c5ce5;
$custom-light: #bd8dee;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5ce5",
  "rgb": {
    "r": 156,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 268.029,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61092,
    "c": 0.20122,
    "h": 302.3
  },
  "luminance": 0.20379
}

Semantic roles & 50–950 ramp

primary
#9C5CE5
secondary
#D0E7B6
accent
#D51179
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C5CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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