#9D50BC#9D50BC

#9D50BC is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.0% C 0.174 H 315.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9D50BC
RGBrgb(157, 80, 188)
HSLhsl(283, 45%, 53%)
HSVhsv(283, 57%, 74%)
CMYKcmyk(16.5%, 57.4%, 0%, 26.3%)
CIE-LABlab(47.67, 49.50, -43.90)
CIE-LCHlch(47.67, 66.16, 318.43°)
OKLaboklab(56.99% 0.1236 -0.1228)
OKLCHoklch(56.99% 0.174 315.2)
XYZxyz(25.8490, 16.5371, 49.3975)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50BC #6FBC50
analogous
#6750BC #9D50BC #BC50A5
triadic
#9D50BC #BC9D50 #50BC9D
tetradic
#9D50BC #BC6750 #6FBC50 #50A5BC
square
#9D50BC #BC6750 #6FBC50 #50A5BC
split-complementary
#9D50BC #A5BC50 #50BC67
monochromatic
#572869 #7B3996 #9D50BC #B67CCD #CFA9DE

Accessibility & contrast

On white

4.88
#9D50BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9D50BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D50BC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50BC#FFFFFF#000000##FFFFFF
##9D50BC1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DBF
Deuteranopia (green-blind)
#4F73B9
Tritanopia (blue-blind)
#9B627E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d50bc;
/* rgb */ color: rgb(157, 80, 188);
/* oklch */ color: oklch(57.0% 0.174 315.2);
Tailwind
colors: {
  custom: {
    50: '#bd85d1',
    500: '#9d50bc',
    950: '#000000',
  },
}
SCSS
$custom: #9d50bc;
$custom-light: #bd85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50bc",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 282.778,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56989,
    "c": 0.1742,
    "h": 315.2
  },
  "luminance": 0.16536
}

Semantic roles & 50–950 ramp

primary
#9D50BC
secondary
#AACB9C
accent
#D45378
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9D50BC

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

Preview Lab → · Contrast checker → · Palette generator →

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