#9C5CF1#9C5CF1

#9C5CF1 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.9% C 0.215 H 299.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9C5CF1
RGBrgb(156, 92, 241)
HSLhsl(266, 84%, 65%)
HSVhsv(266, 62%, 95%)
CMYKcmyk(35.3%, 61.8%, 0%, 5.5%)
CIE-LABlab(53.03, 55.33, -65.51)
CIE-LCHlch(53.03, 85.75, 310.19°)
OKLaboklab(61.89% 0.1071 -0.1862)
OKLCHoklch(61.89% 0.215 299.9)
XYZxyz(33.4108, 21.0728, 85.5093)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5CF1 #B1F15C
analogous
#5C66F1 #9C5CF1 #E75CF1
triadic
#9C5CF1 #F19C5C #5CF19C
tetradic
#9C5CF1 #F15C66 #B1F15C #5CF1E7
square
#9C5CF1 #F15C66 #B1F15C #5CF1E7
split-complementary
#9C5CF1 #F1E75C #66F15C
monochromatic
#5D11C2 #7A24EC #9C5CF1 #BE94F6 #E0CDFB

Accessibility & contrast

On white

4.03
#9C5CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#9C5CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5CF1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5CF1#FFFFFF#000000##000000
##9C5CF11.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF6
Deuteranopia (green-blind)
#1F7DEE
Tritanopia (blue-blind)
#897D9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c5cf1;
/* rgb */ color: rgb(156, 92, 241);
/* oklch */ color: oklch(61.9% 0.215 299.9);
Tailwind
colors: {
  custom: {
    50: '#be8df6',
    500: '#9c5cf1',
    950: '#000000',
  },
}
SCSS
$custom: #9c5cf1;
$custom-light: #be8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5cf1",
  "rgb": {
    "r": 156,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 265.772,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61893,
    "c": 0.21476,
    "h": 299.9
  },
  "luminance": 0.21073
}

Semantic roles & 50–950 ramp

primary
#9C5CF1
secondary
#D8EEBB
accent
#E10582
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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