#9D5EBE#9D5EBE

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

Color values

HEX#9D5EBE
RGBrgb(157, 94, 190)
HSLhsl(279, 42%, 56%)
HSVhsv(279, 51%, 75%)
CMYKcmyk(17.4%, 50.5%, 0%, 25.5%)
CIE-LABlab(50.56, 42.60, -40.48)
CIE-LCHlch(50.56, 58.76, 316.46°)
OKLaboklab(59.15% 0.1048 -0.1129)
OKLCHoklch(59.15% 0.154 312.9)
XYZxyz(27.2000, 18.8918, 50.9189)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5EBE #7FBE5E
analogous
#6D5EBE #9D5EBE #BE5EAF
triadic
#9D5EBE #BE9D5E #5EBE9D
tetradic
#9D5EBE #BE6D5E #7FBE5E #5EAFBE
square
#9D5EBE #BE6D5E #7FBE5E #5EAFBE
split-complementary
#9D5EBE #AFBE5E #5EBE6D
monochromatic
#5C2E73 #7E409F #9D5EBE #B88AD0 #D2B5E1

Accessibility & contrast

On white

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

On black

4.78
#9D5EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5EBE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5EBE#FFFFFF#000000##000000
##9D5EBE1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4775C1
Deuteranopia (green-blind)
#5A7ABB
Tritanopia (blue-blind)
#9A6D85
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9d5ebe;
/* rgb */ color: rgb(157, 94, 190);
/* oklch */ color: oklch(59.2% 0.154 312.9);
Tailwind
colors: {
  custom: {
    50: '#bc8ed2',
    500: '#9d5ebe',
    950: '#000000',
  },
}
SCSS
$custom: #9d5ebe;
$custom-light: #bc8ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5ebe",
  "rgb": {
    "r": 157,
    "g": 94,
    "b": 190
  },
  "hsl": {
    "h": 279.375,
    "s": 42.478,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59151,
    "c": 0.15402,
    "h": 312.9
  },
  "luminance": 0.18891
}

Semantic roles & 50–950 ramp

primary
#9D5EBE
secondary
#B6D0A8
accent
#D25680
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9D5EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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