#9D3FBD#9D3FBD

#9D3FBD is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.9% C 0.200 H 316.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9D3FBD
RGBrgb(157, 63, 189)
HSLhsl(285, 50%, 49%)
HSVhsv(285, 67%, 74%)
CMYKcmyk(16.9%, 66.7%, 0%, 25.9%)
CIE-LABlab(44.80, 57.72, -49.07)
CIE-LCHlch(44.80, 75.76, 319.63°)
OKLaboklab(54.93% 0.1443 -0.1377)
OKLCHoklch(54.93% 0.2 316.3)
XYZxyz(24.8660, 14.3982, 49.6035)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FBD #5FBD3F
analogous
#5E3FBD #9D3FBD #BD3F9E
triadic
#9D3FBD #BD9D3F #3FBD9D
tetradic
#9D3FBD #BD5E3F #5FBD3F #3F9EBD
square
#9D3FBD #BD5E3F #5FBD3F #3F9EBD
split-complementary
#9D3FBD #9EBD3F #3FBD5E
monochromatic
#512061 #77308F #9D3FBD #B56BCE #CC99DD

Accessibility & contrast

On white

5.41
#9D3FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9D3FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3FBD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FBD#FFFFFF#000000##FFFFFF
##9D3FBD1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#406DBA
Tritanopia (blue-blind)
#9B5779
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d3fbd;
/* rgb */ color: rgb(157, 63, 189);
/* oklch */ color: oklch(54.9% 0.200 316.3);
Tailwind
colors: {
  custom: {
    50: '#bd7bd1',
    500: '#9d3fbd',
    950: '#000000',
  },
}
SCSS
$custom: #9d3fbd;
$custom-light: #bd7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3fbd",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 284.762,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54925,
    "c": 0.19951,
    "h": 316.3
  },
  "luminance": 0.14397
}

Semantic roles & 50–950 ramp

primary
#9D3FBD
secondary
#9EC98F
accent
#DA4E72
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D3FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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