#9B5CC8#9B5CC8

#9B5CC8 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.168 H 309.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9B5CC8
RGBrgb(155, 92, 200)
HSLhsl(275, 50%, 57%)
HSVhsv(275, 54%, 78%)
CMYKcmyk(22.5%, 54%, 0%, 21.6%)
CIE-LABlab(50.44, 45.37, -46.44)
CIE-LCHlch(50.44, 64.92, 314.33°)
OKLaboklab(59.19% 0.1059 -0.1303)
OKLCHoklch(59.19% 0.168 309.1)
XYZxyz(27.7680, 18.7934, 56.7971)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5CC8 #89C85C
analogous
#655CC8 #9B5CC8 #C85CBF
triadic
#9B5CC8 #C89B5C #5CC89B
tetradic
#9B5CC8 #C8655C #89C85C #5CBFC8
square
#9B5CC8 #C8655C #89C85C #5CBFC8
split-complementary
#9B5CC8 #BFC85C #5CC865
monochromatic
#5C2B7F #7D3AAD #9B5CC8 #B78AD7 #D3B8E7

Accessibility & contrast

On white

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

On black

4.76
#9B5CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5CC8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5CC8#FFFFFF#000000##000000
##9B5CC81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CC
Deuteranopia (green-blind)
#5079C5
Tritanopia (blue-blind)
#956F89
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9b5cc8;
/* rgb */ color: rgb(155, 92, 200);
/* oklch */ color: oklch(59.2% 0.168 309.1);
Tailwind
colors: {
  custom: {
    50: '#bb8cd9',
    500: '#9b5cc8',
    950: '#000000',
  },
}
SCSS
$custom: #9b5cc8;
$custom-light: #bb8cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5cc8",
  "rgb": {
    "r": 155,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 275,
    "s": 49.541,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59186,
    "c": 0.16789,
    "h": 309.1
  },
  "luminance": 0.18793
}

Semantic roles & 50–950 ramp

primary
#9B5CC8
secondary
#BCD6AA
accent
#D94F88
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B5CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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