#9C5EBF#9C5EBF

#9C5EBF is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.1% C 0.155 H 312.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9C5EBF
RGBrgb(156, 94, 191)
HSLhsl(278, 43%, 56%)
HSVhsv(278, 51%, 75%)
CMYKcmyk(18.3%, 50.8%, 0%, 25.1%)
CIE-LABlab(50.49, 42.54, -41.17)
CIE-LCHlch(50.49, 59.20, 315.94°)
OKLaboklab(59.09% 0.1037 -0.1149)
OKLCHoklch(59.09% 0.155 312.1)
XYZxyz(27.1153, 18.8355, 51.4873)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C5EBF #81BF5E
analogous
#6B5EBF #9C5EBF #BF5EB1
triadic
#9C5EBF #BF9C5E #5EBF9C
tetradic
#9C5EBF #BF6B5E #81BF5E #5EB1BF
square
#9C5EBF #BF6B5E #81BF5E #5EB1BF
split-complementary
#9C5EBF #B1BF5E #5EBF6B
monochromatic
#5B2E74 #7D40A0 #9C5EBF #B78AD0 #D2B6E2

Accessibility & contrast

On white

4.41
#9C5EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9C5EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C5EBF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C5EBF#FFFFFF#000000##000000
##9C5EBF1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4675C2
Deuteranopia (green-blind)
#597ABC
Tritanopia (blue-blind)
#986E86
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9c5ebf;
/* rgb */ color: rgb(156, 94, 191);
/* oklch */ color: oklch(59.1% 0.155 312.1);
Tailwind
colors: {
  custom: {
    50: '#bb8ed3',
    500: '#9c5ebf',
    950: '#000000',
  },
}
SCSS
$custom: #9c5ebf;
$custom-light: #bb8ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c5ebf",
  "rgb": {
    "r": 156,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 278.351,
    "s": 43.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59092,
    "c": 0.15476,
    "h": 312.1
  },
  "luminance": 0.18835
}

Semantic roles & 50–950 ramp

primary
#9C5EBF
secondary
#B7D0A8
accent
#D35582
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9C5EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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