#9D5EBF#9D5EBF

#9D5EBF is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.2% C 0.155 H 312.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9D5EBF
RGBrgb(157, 94, 191)
HSLhsl(279, 43%, 56%)
HSVhsv(279, 51%, 75%)
CMYKcmyk(17.8%, 50.8%, 0%, 25.1%)
CIE-LABlab(50.61, 42.82, -40.98)
CIE-LCHlch(50.61, 59.26, 316.26°)
OKLaboklab(59.21% 0.1049 -0.1143)
OKLCHoklch(59.21% 0.155 312.5)
XYZxyz(27.3097, 18.9357, 51.4964)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5EBF #80BF5E
analogous
#6C5EBF #9D5EBF #BF5EB0
triadic
#9D5EBF #BF9D5E #5EBF9D
tetradic
#9D5EBF #BF6C5E #80BF5E #5EB0BF
square
#9D5EBF #BF6C5E #80BF5E #5EB0BF
split-complementary
#9D5EBF #B0BF5E #5EBF6C
monochromatic
#5C2E74 #7E40A0 #9D5EBF #B88AD0 #D2B6E2

Accessibility & contrast

On white

4.39
#9D5EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9D5EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5EBF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5EBF#FFFFFF#000000##000000
##9D5EBF1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4775C2
Deuteranopia (green-blind)
#5A7ABC
Tritanopia (blue-blind)
#9A6E86
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9d5ebf;
/* rgb */ color: rgb(157, 94, 191);
/* oklch */ color: oklch(59.2% 0.155 312.5);
Tailwind
colors: {
  custom: {
    50: '#bc8ed3',
    500: '#9d5ebf',
    950: '#000000',
  },
}
SCSS
$custom: #9d5ebf;
$custom-light: #bc8ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5ebf",
  "rgb": {
    "r": 157,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 278.969,
    "s": 43.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59206,
    "c": 0.15515,
    "h": 312.5
  },
  "luminance": 0.18935
}

Semantic roles & 50–950 ramp

primary
#9D5EBF
secondary
#B6D0A8
accent
#D35581
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9D5EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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