#9D4DBA#9D4DBA

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

Color values

HEX#9D4DBA
RGBrgb(157, 77, 186)
HSLhsl(284, 44%, 52%)
HSVhsv(284, 59%, 73%)
CMYKcmyk(15.6%, 58.6%, 0%, 27.1%)
CIE-LABlab(47.00, 50.58, -43.80)
CIE-LCHlch(47.00, 66.91, 319.11°)
OKLaboklab(56.47% 0.1274 -0.1224)
OKLCHoklch(56.47% 0.177 316.1)
XYZxyz(25.4201, 16.0219, 48.1983)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4DBA #6ABA4D
analogous
#674DBA #9D4DBA #BA4DA1
triadic
#9D4DBA #BA9D4D #4DBA9D
tetradic
#9D4DBA #BA674D #6ABA4D #4DA1BA
square
#9D4DBA #BA674D #6ABA4D #4DA1BA
split-complementary
#9D4DBA #A1BA4D #4DBA67
monochromatic
#552765 #7A3891 #9D4DBA #B579CB #CEA5DC

Accessibility & contrast

On white

5.00
#9D4DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9D4DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4DBA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4DBA#FFFFFF#000000##FFFFFF
##9D4DBA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBD
Deuteranopia (green-blind)
#4E72B7
Tritanopia (blue-blind)
#9B5F7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9d4dba;
/* rgb */ color: rgb(157, 77, 186);
/* oklch */ color: oklch(56.5% 0.177 316.1);
Tailwind
colors: {
  custom: {
    50: '#bd83cf',
    500: '#9d4dba',
    950: '#000000',
  },
}
SCSS
$custom: #9d4dba;
$custom-light: #bd83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4dba",
  "rgb": {
    "r": 157,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 284.037,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56465,
    "c": 0.17671,
    "h": 316.1
  },
  "luminance": 0.16021
}

Semantic roles & 50–950 ramp

primary
#9D4DBA
secondary
#A6C999
accent
#D45476
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9D4DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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