#9C5FF2#9C5FF2

#9C5FF2 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.4% C 0.212 H 299.3°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9C5FF2
RGBrgb(156, 95, 242)
HSLhsl(265, 85%, 66%)
HSVhsv(265, 61%, 95%)
CMYKcmyk(35.5%, 60.7%, 0%, 5.1%)
CIE-LABlab(53.67, 54.04, -65.03)
CIE-LCHlch(53.67, 84.56, 309.72°)
OKLaboklab(62.38% 0.1036 -0.1848)
OKLCHoklch(62.38% 0.212 299.3)
XYZxyz(33.8256, 21.6628, 86.3864)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5FF2 #B5F25F
analogous
#5F6BF2 #9C5FF2 #E55FF2
triadic
#9C5FF2 #F29C5F #5FF29C
tetradic
#9C5FF2 #F25F6B #B5F25F #5FF2E5
square
#9C5FF2 #F25F6B #B5F25F #5FF2E5
split-complementary
#9C5FF2 #F2E55F #6BF25F
monochromatic
#5C10C6 #7926ED #9C5FF2 #BF98F7 #E2D0FB

Accessibility & contrast

On white

3.94
#9C5FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#9C5FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5FF2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5FF2#FFFFFF#000000##000000
##9C5FF21.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#257FEF
Tritanopia (blue-blind)
#897FA0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9c5ff2;
/* rgb */ color: rgb(156, 95, 242);
/* oklch */ color: oklch(62.4% 0.212 299.3);
Tailwind
colors: {
  custom: {
    50: '#be8ff7',
    500: '#9c5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #9c5ff2;
$custom-light: #be8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5ff2",
  "rgb": {
    "r": 156,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 264.898,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62377,
    "c": 0.21187,
    "h": 299.3
  },
  "luminance": 0.21663
}

Semantic roles & 50–950 ramp

primary
#9C5FF2
secondary
#DBEFBE
accent
#E10486
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #9C5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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