#9C5DF2#9C5DF2

#9C5DF2 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.1% C 0.215 H 299.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9C5DF2
RGBrgb(156, 93, 242)
HSLhsl(265, 85%, 66%)
HSVhsv(265, 62%, 95%)
CMYKcmyk(35.5%, 61.6%, 0%, 5.1%)
CIE-LABlab(53.28, 55.07, -65.65)
CIE-LCHlch(53.28, 85.69, 309.99°)
OKLaboklab(62.1% 0.1059 -0.1866)
OKLCHoklch(62.1% 0.215 299.6)
XYZxyz(33.6477, 21.3071, 86.3272)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5DF2 #B3F25D
analogous
#5D68F2 #9C5DF2 #E65DF2
triadic
#9C5DF2 #F29C5D #5DF29C
tetradic
#9C5DF2 #F25D68 #B3F25D #5DF2E6
square
#9C5DF2 #F25D68 #B3F25D #5DF2E6
split-complementary
#9C5DF2 #F2E65D #68F25D
monochromatic
#5C10C5 #7924ED #9C5DF2 #BF96F7 #E1CEFB

Accessibility & contrast

On white

3.99
#9C5DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9C5DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5DF2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5DF2#FFFFFF#000000##000000
##9C5DF21.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#1F7EEF
Tritanopia (blue-blind)
#897E9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c5df2;
/* rgb */ color: rgb(156, 93, 242);
/* oklch */ color: oklch(62.1% 0.215 299.6);
Tailwind
colors: {
  custom: {
    50: '#be8ef7',
    500: '#9c5df2',
    950: '#000000',
  },
}
SCSS
$custom: #9c5df2;
$custom-light: #be8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5df2",
  "rgb": {
    "r": 156,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 265.369,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62098,
    "c": 0.21455,
    "h": 299.6
  },
  "luminance": 0.21307
}

Semantic roles & 50–950 ramp

primary
#9C5DF2
secondary
#D9EEBD
accent
#E20484
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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