#9D50BB#9D50BB

#9D50BB is a mid, vivid purple. Relative luminance 0.165; OKLCH L 56.9% C 0.173 H 315.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9D50BB
RGBrgb(157, 80, 187)
HSLhsl(283, 44%, 52%)
HSVhsv(283, 57%, 73%)
CMYKcmyk(16%, 57.2%, 0%, 26.7%)
CIE-LABlab(47.62, 49.29, -43.41)
CIE-LCHlch(47.62, 65.68, 318.63°)
OKLaboklab(56.93% 0.1236 -0.1213)
OKLCHoklch(56.93% 0.173 315.5)
XYZxyz(25.7415, 16.4941, 48.8318)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D50BB #6EBB50
analogous
#6850BB #9D50BB #BB50A3
triadic
#9D50BB #BB9D50 #50BB9D
tetradic
#9D50BB #BB6850 #6EBB50 #50A3BB
square
#9D50BB #BB6850 #6EBB50 #50A3BB
split-complementary
#9D50BB #A3BB50 #50BB68
monochromatic
#562868 #7B3A94 #9D50BB #B67CCC #CEA8DD

Accessibility & contrast

On white

4.89
#9D50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9D50BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D50BB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D50BB#FFFFFF#000000##FFFFFF
##9D50BB1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBE
Deuteranopia (green-blind)
#5073B8
Tritanopia (blue-blind)
#9B627E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d50bb;
/* rgb */ color: rgb(157, 80, 187);
/* oklch */ color: oklch(56.9% 0.173 315.5);
Tailwind
colors: {
  custom: {
    50: '#bc85d0',
    500: '#9d50bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d50bb;
$custom-light: #bc85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d50bb",
  "rgb": {
    "r": 157,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 283.178,
    "s": 44.033,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56931,
    "c": 0.17316,
    "h": 315.5
  },
  "luminance": 0.16493
}

Semantic roles & 50–950 ramp

primary
#9D50BB
secondary
#A9CB9C
accent
#D45478
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9D50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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