#9C5BF5#9C5BF5

#9C5BF5 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.0% C 0.221 H 299.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9C5BF5
RGBrgb(156, 91, 245)
HSLhsl(265, 89%, 66%)
HSVhsv(265, 63%, 96%)
CMYKcmyk(36.3%, 62.9%, 0%, 3.9%)
CIE-LABlab(53.10, 56.82, -67.62)
CIE-LCHlch(53.10, 88.32, 310.04°)
OKLaboklab(62.03% 0.1079 -0.1924)
OKLCHoklch(62.03% 0.221 299.3)
XYZxyz(33.9287, 21.1423, 88.6618)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5BF5 #B4F55B
analogous
#5B67F5 #9C5BF5 #E95BF5
triadic
#9C5BF5 #F59C5B #5BF59C
tetradic
#9C5BF5 #F55B67 #B4F55B #5BF5E9
square
#9C5BF5 #F55B67 #B4F55B #5BF5E9
split-complementary
#9C5BF5 #F5E95B #67F55B
monochromatic
#5C0CC9 #7921F1 #9C5BF5 #BF95F9 #E2CEFC

Accessibility & contrast

On white

4.02
#9C5BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9C5BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5BF5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5BF5#FFFFFF#000000##000000
##9C5BF51.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#0D7DF2
Tritanopia (blue-blind)
#887DA0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c5bf5;
/* rgb */ color: rgb(156, 91, 245);
/* oklch */ color: oklch(62.0% 0.221 299.3);
Tailwind
colors: {
  custom: {
    50: '#bf8df9',
    500: '#9c5bf5',
    950: '#000000',
  },
}
SCSS
$custom: #9c5bf5;
$custom-light: #bf8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5bf5",
  "rgb": {
    "r": 156,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 265.325,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62031,
    "c": 0.22055,
    "h": 299.3
  },
  "luminance": 0.21143
}

Semantic roles & 50–950 ramp

primary
#9C5BF5
secondary
#DAEFBC
accent
#E50085
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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