#9C5FE5#9C5FE5

#9C5FE5 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.5% C 0.197 H 301.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9C5FE5
RGBrgb(156, 95, 229)
HSLhsl(267, 72%, 64%)
HSVhsv(267, 59%, 90%)
CMYKcmyk(31.9%, 58.5%, 0%, 10.2%)
CIE-LABlab(52.85, 50.86, -59.07)
CIE-LCHlch(52.85, 77.94, 310.73°)
OKLaboklab(61.52% 0.1041 -0.1672)
OKLCHoklch(61.52% 0.197 301.9)
XYZxyz(31.9421, 20.9094, 76.4667)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5FE5 #A8E55F
analogous
#5F65E5 #9C5FE5 #DF5FE5
triadic
#9C5FE5 #E59C5F #5FE59C
tetradic
#9C5FE5 #E55F65 #A8E55F #5FE5DF
square
#9C5FE5 #E55F65 #A8E55F #5FE5DF
split-complementary
#9C5FE5 #E5DF5F #65E55F
monochromatic
#5E1CAD #7B2ADC #9C5FE5 #BD94EE #DDC8F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C5FE5#FFFFFF#000000##000000
##9C5FE51.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)
#1A7DE9
Deuteranopia (green-blind)
#3A7EE2
Tritanopia (blue-blind)
#8E7A99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9c5fe5;
/* rgb */ color: rgb(156, 95, 229);
/* oklch */ color: oklch(61.5% 0.197 301.9);
Tailwind
colors: {
  custom: {
    50: '#bd8fee',
    500: '#9c5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #9c5fe5;
$custom-light: #bd8fee;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5fe5",
  "rgb": {
    "r": 156,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 267.313,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6152,
    "c": 0.19697,
    "h": 301.9
  },
  "luminance": 0.20909
}

Semantic roles & 50–950 ramp

primary
#9C5FE5
secondary
#D2E8B8
accent
#D4117B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9C5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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