#9D50BD#9D50BD

#9D50BD is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.0% C 0.175 H 314.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9D50BD
RGBrgb(157, 80, 189)
HSLhsl(282, 45%, 53%)
HSVhsv(282, 58%, 74%)
CMYKcmyk(16.9%, 57.7%, 0%, 25.9%)
CIE-LABlab(47.73, 49.71, -44.39)
CIE-LCHlch(47.73, 66.65, 318.24°)
OKLaboklab(57.05% 0.1236 -0.1242)
OKLCHoklch(57.05% 0.175 314.9)
XYZxyz(25.9571, 16.5803, 49.9672)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50BD #70BD50
analogous
#6650BD #9D50BD #BD50A7
triadic
#9D50BD #BD9D50 #50BD9D
tetradic
#9D50BD #BD6650 #70BD50 #50A7BD
square
#9D50BD #BD6650 #70BD50 #50A7BD
split-complementary
#9D50BD #A7BD50 #50BD66
monochromatic
#57286A #7B3997 #9D50BD #B67CCE #CFA9DF

Accessibility & contrast

On white

4.87
#9D50BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9D50BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D50BD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50BD#FFFFFF#000000##FFFFFF
##9D50BD1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326DC0
Deuteranopia (green-blind)
#4E73BA
Tritanopia (blue-blind)
#9B627F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d50bd;
/* rgb */ color: rgb(157, 80, 189);
/* oklch */ color: oklch(57.0% 0.175 314.9);
Tailwind
colors: {
  custom: {
    50: '#bd85d1',
    500: '#9d50bd',
    950: '#000000',
  },
}
SCSS
$custom: #9d50bd;
$custom-light: #bd85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50bd",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 282.385,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57048,
    "c": 0.17525,
    "h": 314.9
  },
  "luminance": 0.1658
}

Semantic roles & 50–950 ramp

primary
#9D50BD
secondary
#ABCC9D
accent
#D55379
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9D50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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