#9C5BED#9C5BED

#9C5BED is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.5% C 0.212 H 300.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9C5BED
RGBrgb(156, 91, 237)
HSLhsl(267, 80%, 64%)
HSVhsv(267, 62%, 93%)
CMYKcmyk(34.2%, 61.6%, 0%, 7.1%)
CIE-LABlab(52.58, 54.87, -63.99)
CIE-LCHlch(52.58, 84.30, 310.61°)
OKLaboklab(61.49% 0.1084 -0.1817)
OKLCHoklch(61.49% 0.212 300.8)
XYZxyz(32.7338, 20.6643, 82.3684)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5BED #ACED5B
analogous
#5B63ED #9C5BED #E55BED
triadic
#9C5BED #ED9C5B #5BED9C
tetradic
#9C5BED #ED5B63 #ACED5B #5BEDE5
square
#9C5BED #ED5B63 #ACED5B #5BEDE5
split-complementary
#9C5BED #EDE55B #63ED5B
monochromatic
#5E14B9 #7B24E7 #9C5BED #BD92F3 #DFC9F9

Accessibility & contrast

On white

4.09
#9C5BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#9C5BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5BED
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5BED#FFFFFF#000000##000000
##9C5BED1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#267DEA
Tritanopia (blue-blind)
#8B7A9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c5bed;
/* rgb */ color: rgb(156, 91, 237);
/* oklch */ color: oklch(61.5% 0.212 300.8);
Tailwind
colors: {
  custom: {
    50: '#be8df4',
    500: '#9c5bed',
    950: '#000000',
  },
}
SCSS
$custom: #9c5bed;
$custom-light: #be8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5bed",
  "rgb": {
    "r": 156,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 266.712,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61485,
    "c": 0.21161,
    "h": 300.8
  },
  "luminance": 0.20665
}

Semantic roles & 50–950 ramp

primary
#9C5BED
secondary
#D5EBB9
accent
#DD097E
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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