#9C5BEE#9C5BEE

#9C5BEE is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.6% C 0.213 H 300.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9C5BEE
RGBrgb(156, 91, 238)
HSLhsl(267, 81%, 65%)
HSVhsv(267, 62%, 93%)
CMYKcmyk(34.5%, 61.8%, 0%, 6.7%)
CIE-LABlab(52.64, 55.11, -64.45)
CIE-LCHlch(52.64, 84.80, 310.54°)
OKLaboklab(61.55% 0.1084 -0.1831)
OKLCHoklch(61.55% 0.213 300.6)
XYZxyz(32.8803, 20.7229, 83.1400)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5BEE #ADEE5B
analogous
#5B64EE #9C5BEE #E65BEE
triadic
#9C5BEE #EE9C5B #5BEE9C
tetradic
#9C5BEE #EE5B64 #ADEE5B #5BEEE6
square
#9C5BEE #EE5B64 #ADEE5B #5BEEE6
split-complementary
#9C5BEE #EEE65B #64EE5B
monochromatic
#5E13BB #7B24E8 #9C5BEE #BD92F4 #DFCAF9

Accessibility & contrast

On white

4.08
#9C5BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#9C5BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5BEE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5BEE#FFFFFF#000000##000000
##9C5BEE1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#247DEB
Tritanopia (blue-blind)
#8B7B9C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9c5bee;
/* rgb */ color: rgb(156, 91, 238);
/* oklch */ color: oklch(61.6% 0.213 300.6);
Tailwind
colors: {
  custom: {
    50: '#be8df4',
    500: '#9c5bee',
    950: '#000000',
  },
}
SCSS
$custom: #9c5bee;
$custom-light: #be8df4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5bee",
  "rgb": {
    "r": 156,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 266.531,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61552,
    "c": 0.21273,
    "h": 300.6
  },
  "luminance": 0.20723
}

Semantic roles & 50–950 ramp

primary
#9C5BEE
secondary
#D5ECB9
accent
#DE087F
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9C5BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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