#9D5BBF#9D5BBF

#9D5BBF is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.160 H 312.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9D5BBF
RGBrgb(157, 91, 191)
HSLhsl(280, 44%, 55%)
HSVhsv(280, 52%, 75%)
CMYKcmyk(17.8%, 52.4%, 0%, 25.1%)
CIE-LABlab(49.99, 44.43, -41.96)
CIE-LCHlch(49.99, 61.11, 316.64°)
OKLaboklab(58.75% 0.109 -0.1172)
OKLCHoklch(58.75% 0.16 312.9)
XYZxyz(27.0481, 18.4125, 51.4092)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5BBF #7DBF5B
analogous
#6B5BBF #9D5BBF #BF5BAF
triadic
#9D5BBF #BF9D5B #5BBF9D
tetradic
#9D5BBF #BF6B5B #7DBF5B #5BAFBF
square
#9D5BBF #BF6B5B #7DBF5B #5BAFBF
split-complementary
#9D5BBF #AFBF5B #5BBF6B
monochromatic
#5B2D73 #7E3E9F #9D5BBF #B787D0 #D2B3E1

Accessibility & contrast

On white

4.48
#9D5BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9D5BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5BBF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5BBF#FFFFFF#000000##000000
##9D5BBF1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4273C2
Deuteranopia (green-blind)
#5778BC
Tritanopia (blue-blind)
#9A6B84
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d5bbf;
/* rgb */ color: rgb(157, 91, 191);
/* oklch */ color: oklch(58.7% 0.160 312.9);
Tailwind
colors: {
  custom: {
    50: '#bc8cd3',
    500: '#9d5bbf',
    950: '#000000',
  },
}
SCSS
$custom: #9d5bbf;
$custom-light: #bc8cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5bbf",
  "rgb": {
    "r": 157,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 279.6,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58748,
    "c": 0.16005,
    "h": 312.9
  },
  "luminance": 0.18412
}

Semantic roles & 50–950 ramp

primary
#9D5BBF
secondary
#B4D0A6
accent
#D45480
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9D5BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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