#9C5BE9#9C5BE9

#9C5BE9 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.2% C 0.207 H 301.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9C5BE9
RGBrgb(156, 91, 233)
HSLhsl(267, 76%, 64%)
HSVhsv(267, 61%, 91%)
CMYKcmyk(33%, 60.9%, 0%, 8.6%)
CIE-LABlab(52.32, 53.90, -62.16)
CIE-LCHlch(52.32, 82.28, 310.93°)
OKLaboklab(61.22% 0.1086 -0.1763)
OKLCHoklch(61.22% 0.207 301.6)
XYZxyz(32.1559, 20.4332, 79.3249)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5BE9 #A8E95B
analogous
#5B61E9 #9C5BE9 #E35BE9
triadic
#9C5BE9 #E99C5B #5BE99C
tetradic
#9C5BE9 #E95B61 #A8E95B #5BE9E3
square
#9C5BE9 #E95B61 #A8E95B #5BE9E3
split-complementary
#9C5BE9 #E9E35B #61E95B
monochromatic
#5E18B2 #7B25E2 #9C5BE9 #BD91F0 #DDC7F7

Accessibility & contrast

On white

4.13
#9C5BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9C5BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5BE9
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5BE9#FFFFFF#000000##000000
##9C5BE91.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#2D7CE6
Tritanopia (blue-blind)
#8C799A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c5be9;
/* rgb */ color: rgb(156, 91, 233);
/* oklch */ color: oklch(61.2% 0.207 301.6);
Tailwind
colors: {
  custom: {
    50: '#be8cf1',
    500: '#9c5be9',
    950: '#000000',
  },
}
SCSS
$custom: #9c5be9;
$custom-light: #be8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5be9",
  "rgb": {
    "r": 156,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 267.465,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61216,
    "c": 0.20711,
    "h": 301.6
  },
  "luminance": 0.20433
}

Semantic roles & 50–950 ramp

primary
#9C5BE9
secondary
#D2E9B7
accent
#D90D7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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