#9C5BEC#9C5BEC

#9C5BEC is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.4% C 0.210 H 301.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9C5BEC
RGBrgb(156, 91, 236)
HSLhsl(267, 79%, 64%)
HSVhsv(267, 61%, 93%)
CMYKcmyk(33.9%, 61.4%, 0%, 7.5%)
CIE-LABlab(52.52, 54.63, -63.54)
CIE-LCHlch(52.52, 83.79, 310.69°)
OKLaboklab(61.42% 0.1085 -0.1804)
OKLCHoklch(61.42% 0.21 301)
XYZxyz(32.5881, 20.6060, 81.6011)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5BEC #ABEC5B
analogous
#5B63EC #9C5BEC #E55BEC
triadic
#9C5BEC #EC9C5B #5BEC9C
tetradic
#9C5BEC #EC5B63 #ABEC5B #5BECE5
square
#9C5BEC #EC5B63 #ABEC5B #5BECE5
split-complementary
#9C5BEC #ECE55B #63EC5B
monochromatic
#5E15B7 #7B24E6 #9C5BEC #BD92F2 #DEC9F9

Accessibility & contrast

On white

4.10
#9C5BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#9C5BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5BEC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5BEC#FFFFFF#000000##000000
##9C5BEC1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#287CE9
Tritanopia (blue-blind)
#8B7A9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c5bec;
/* rgb */ color: rgb(156, 91, 236);
/* oklch */ color: oklch(61.4% 0.210 301.0);
Tailwind
colors: {
  custom: {
    50: '#be8cf3',
    500: '#9c5bec',
    950: '#000000',
  },
}
SCSS
$custom: #9c5bec;
$custom-light: #be8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5bec",
  "rgb": {
    "r": 156,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 266.897,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61417,
    "c": 0.21049,
    "h": 301
  },
  "luminance": 0.20606
}

Semantic roles & 50–950 ramp

primary
#9C5BEC
secondary
#D4EBB8
accent
#DC0A7E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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