#9B4EBD#9B4EBD

#9B4EBD is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.5% C 0.177 H 314.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9B4EBD
RGBrgb(155, 78, 189)
HSLhsl(282, 46%, 52%)
HSVhsv(282, 59%, 74%)
CMYKcmyk(18%, 58.7%, 0%, 25.9%)
CIE-LABlab(47.10, 50.21, -45.41)
CIE-LCHlch(47.10, 67.70, 317.87°)
OKLaboklab(56.53% 0.1237 -0.1272)
OKLCHoklch(56.53% 0.177 314.2)
XYZxyz(25.4258, 16.0922, 49.9010)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4EBD #70BD4E
analogous
#644EBD #9B4EBD #BD4EA7
triadic
#9B4EBD #BD9B4E #4EBD9B
tetradic
#9B4EBD #BD644E #70BD4E #4EA7BD
square
#9B4EBD #BD644E #70BD4E #4EA7BD
split-complementary
#9B4EBD #A7BD4E #4EBD64
monochromatic
#552769 #793896 #9B4EBD #B47BCE #CDA7DE

Accessibility & contrast

On white

4.98
#9B4EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9B4EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4EBD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4EBD#FFFFFF#000000##FFFFFF
##9B4EBD1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BC1
Deuteranopia (green-blind)
#4B72BA
Tritanopia (blue-blind)
#98617E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9b4ebd;
/* rgb */ color: rgb(155, 78, 189);
/* oklch */ color: oklch(56.5% 0.177 314.2);
Tailwind
colors: {
  custom: {
    50: '#bb83d1',
    500: '#9b4ebd',
    950: '#000000',
  },
}
SCSS
$custom: #9b4ebd;
$custom-light: #bb83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4ebd",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 281.622,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56531,
    "c": 0.17747,
    "h": 314.2
  },
  "luminance": 0.16091
}

Semantic roles & 50–950 ramp

primary
#9B4EBD
secondary
#AACC9B
accent
#D5527B
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9B4EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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