#9B5CCF#9B5CCF

#9B5CCF is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.6% C 0.176 H 307.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9B5CCF
RGBrgb(155, 92, 207)
HSLhsl(273, 55%, 59%)
HSVhsv(273, 56%, 81%)
CMYKcmyk(25.1%, 55.6%, 0%, 18.8%)
CIE-LABlab(50.84, 46.98, -49.82)
CIE-LCHlch(50.84, 68.48, 313.32°)
OKLaboklab(59.6% 0.1063 -0.1402)
OKLCHoklch(59.6% 0.176 307.2)
XYZxyz(28.6049, 19.1282, 61.2046)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5CCF #90CF5C
analogous
#615CCF #9B5CCF #CF5CC9
triadic
#9B5CCF #CF9B5C #5CCF9B
tetradic
#9B5CCF #CF615C #90CF5C #5CC9CF
square
#9B5CCF #CF615C #90CF5C #5CC9CF
split-complementary
#9B5CCF #C9CF5C #5CCF61
monochromatic
#5D2888 #7D36B8 #9B5CCF #B88BDD #D5BBEB

Accessibility & contrast

On white

4.35
#9B5CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#9B5CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B5CCF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5CCF#FFFFFF#000000##000000
##9B5CCF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3477D3
Deuteranopia (green-blind)
#4B7ACC
Tritanopia (blue-blind)
#93718D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9b5ccf;
/* rgb */ color: rgb(155, 92, 207);
/* oklch */ color: oklch(59.6% 0.176 307.2);
Tailwind
colors: {
  custom: {
    50: '#bb8cde',
    500: '#9b5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #9b5ccf;
$custom-light: #bb8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5ccf",
  "rgb": {
    "r": 155,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 272.87,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59601,
    "c": 0.1759,
    "h": 307.2
  },
  "luminance": 0.19128
}

Semantic roles & 50–950 ramp

primary
#9B5CCF
secondary
#C1DAAD
accent
#DE4A8D
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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