#9D5BCE#9D5BCE

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

Color values

HEX#9D5BCE
RGBrgb(157, 91, 206)
HSLhsl(274, 54%, 58%)
HSVhsv(274, 56%, 81%)
CMYKcmyk(23.8%, 55.8%, 0%, 19.2%)
CIE-LABlab(50.81, 47.79, -49.28)
CIE-LCHlch(50.81, 68.64, 314.12°)
OKLaboklab(59.62% 0.11 -0.1385)
OKLCHoklch(59.62% 0.177 308.5)
XYZxyz(28.7841, 19.1069, 60.5522)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5BCE #8CCE5B
analogous
#635BCE #9D5BCE #CE5BC5
triadic
#9D5BCE #CE9D5B #5BCE9D
tetradic
#9D5BCE #CE635B #8CCE5B #5BC5CE
square
#9D5BCE #CE635B #8CCE5B #5BC5CE
split-complementary
#9D5BCE #C5CE5B #5BCE63
monochromatic
#5E2886 #7F36B6 #9D5BCE #B98ADC #D5B9EA

Accessibility & contrast

On white

4.36
#9D5BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9D5BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5BCE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5BCE#FFFFFF#000000##000000
##9D5BCE1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3576D2
Deuteranopia (green-blind)
#4C7ACB
Tritanopia (blue-blind)
#96708C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9d5bce;
/* rgb */ color: rgb(157, 91, 206);
/* oklch */ color: oklch(59.6% 0.177 308.5);
Tailwind
colors: {
  custom: {
    50: '#bd8cdd',
    500: '#9d5bce',
    950: '#000000',
  },
}
SCSS
$custom: #9d5bce;
$custom-light: #bd8cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5bce",
  "rgb": {
    "r": 157,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 274.435,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59616,
    "c": 0.1769,
    "h": 308.5
  },
  "luminance": 0.19107
}

Semantic roles & 50–950 ramp

primary
#9D5BCE
secondary
#BFD9AB
accent
#DD4A89
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D5BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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