#9C5BF4#9C5BF4

#9C5BF4 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 62.0% C 0.219 H 299.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9C5BF4
RGBrgb(156, 91, 244)
HSLhsl(265, 87%, 66%)
HSVhsv(265, 63%, 96%)
CMYKcmyk(36.1%, 62.7%, 0%, 4.3%)
CIE-LABlab(53.04, 56.58, -67.17)
CIE-LCHlch(53.04, 87.82, 310.11°)
OKLaboklab(61.96% 0.108 -0.191)
OKLCHoklch(61.96% 0.219 299.5)
XYZxyz(33.7765, 21.0814, 87.8600)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5BF4 #B3F45B
analogous
#5B66F4 #9C5BF4 #E85BF4
triadic
#9C5BF4 #F49C5B #5BF49C
tetradic
#9C5BF4 #F45B66 #B3F45B #5BF4E8
square
#9C5BF4 #F45B66 #B3F45B #5BF4E8
split-complementary
#9C5BF4 #F4E85B #66F45B
monochromatic
#5C0DC7 #7922F0 #9C5BF4 #BF94F8 #E1CEFC

Accessibility & contrast

On white

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

On black

5.22
#9C5BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5BF4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5BF4#FFFFFF#000000##000000
##9C5BF41.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF9
Deuteranopia (green-blind)
#127DF1
Tritanopia (blue-blind)
#887D9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c5bf4;
/* rgb */ color: rgb(156, 91, 244);
/* oklch */ color: oklch(62.0% 0.219 299.5);
Tailwind
colors: {
  custom: {
    50: '#bf8df9',
    500: '#9c5bf4',
    950: '#000000',
  },
}
SCSS
$custom: #9c5bf4;
$custom-light: #bf8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5bf4",
  "rgb": {
    "r": 156,
    "g": 91,
    "b": 244
  },
  "hsl": {
    "h": 265.49,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61962,
    "c": 0.21943,
    "h": 299.5
  },
  "luminance": 0.21082
}

Semantic roles & 50–950 ramp

primary
#9C5BF4
secondary
#D9EFBC
accent
#E40284
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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