#9C5BE3#9C5BE3

#9C5BE3 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.8% C 0.200 H 302.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9C5BE3
RGBrgb(156, 91, 227)
HSLhsl(269, 71%, 62%)
HSVhsv(269, 60%, 89%)
CMYKcmyk(31.3%, 59.9%, 0%, 11%)
CIE-LABlab(51.95, 52.46, -59.39)
CIE-LCHlch(51.95, 79.24, 311.45°)
OKLaboklab(60.82% 0.1089 -0.1682)
OKLCHoklch(60.82% 0.2 302.9)
XYZxyz(31.3133, 20.0961, 74.8874)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5BE3 #A2E35B
analogous
#5B5EE3 #9C5BE3 #E05BE3
triadic
#9C5BE3 #E39C5B #5BE39C
tetradic
#9C5BE3 #E35B5E #A2E35B #5BE3E0
square
#9C5BE3 #E35B5E #A2E35B #5BE3E0
split-complementary
#9C5BE3 #E3E05B #5EE35B
monochromatic
#5F1DA7 #7C27DA #9C5BE3 #BC8FEC #DBC4F5

Accessibility & contrast

On white

4.18
#9C5BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9C5BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5BE3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5BE3#FFFFFF#000000##000000
##9C5BE31.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B7BE7
Deuteranopia (green-blind)
#367CE0
Tritanopia (blue-blind)
#8E7797
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9c5be3;
/* rgb */ color: rgb(156, 91, 227);
/* oklch */ color: oklch(60.8% 0.200 302.9);
Tailwind
colors: {
  custom: {
    50: '#bd8cec',
    500: '#9c5be3',
    950: '#000000',
  },
}
SCSS
$custom: #9c5be3;
$custom-light: #bd8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5be3",
  "rgb": {
    "r": 156,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 268.676,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60821,
    "c": 0.20036,
    "h": 302.9
  },
  "luminance": 0.20096
}

Semantic roles & 50–950 ramp

primary
#9C5BE3
secondary
#CEE6B4
accent
#D31377
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C5BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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