#9C5FE6#9C5FE6

#9C5FE6 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.6% C 0.198 H 301.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9C5FE6
RGBrgb(156, 95, 230)
HSLhsl(267, 73%, 64%)
HSVhsv(267, 59%, 90%)
CMYKcmyk(32.2%, 58.7%, 0%, 9.8%)
CIE-LABlab(52.91, 51.10, -59.53)
CIE-LCHlch(52.91, 78.45, 310.64°)
OKLaboklab(61.59% 0.104 -0.1686)
OKLCHoklch(61.59% 0.198 301.7)
XYZxyz(32.0821, 20.9654, 77.2041)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5FE6 #A9E65F
analogous
#5F65E6 #9C5FE6 #DF5FE6
triadic
#9C5FE6 #E69C5F #5FE69C
tetradic
#9C5FE6 #E65F65 #A9E65F #5FE6DF
square
#9C5FE6 #E65F65 #A9E65F #5FE6DF
split-complementary
#9C5FE6 #E6DF5F #65E65F
monochromatic
#5E1BAF #7B2ADE #9C5FE6 #BD94EE #DDC9F7

Accessibility & contrast

On white

4.04
#9C5FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9C5FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5FE6
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5FE6#FFFFFF#000000##000000
##9C5FE61.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#187DEA
Deuteranopia (green-blind)
#387EE3
Tritanopia (blue-blind)
#8D7B9A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9c5fe6;
/* rgb */ color: rgb(156, 95, 230);
/* oklch */ color: oklch(61.6% 0.198 301.7);
Tailwind
colors: {
  custom: {
    50: '#bd8fef',
    500: '#9c5fe6',
    950: '#000000',
  },
}
SCSS
$custom: #9c5fe6;
$custom-light: #bd8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5fe6",
  "rgb": {
    "r": 156,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 267.111,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61585,
    "c": 0.19813,
    "h": 301.7
  },
  "luminance": 0.20966
}

Semantic roles & 50–950 ramp

primary
#9C5FE6
secondary
#D3E8B9
accent
#D5107C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9C5FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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