#9D3DBA#9D3DBA

#9D3DBA is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.5% C 0.199 H 317.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9D3DBA
RGBrgb(157, 61, 186)
HSLhsl(286, 51%, 48%)
HSVhsv(286, 67%, 73%)
CMYKcmyk(15.6%, 67.2%, 0%, 27.1%)
CIE-LABlab(44.31, 57.98, -48.10)
CIE-LCHlch(44.31, 75.34, 320.32°)
OKLaboklab(54.51% 0.1467 -0.1349)
OKLCHoklch(54.51% 0.199 317.4)
XYZxyz(24.4350, 14.0518, 47.8700)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DBA #5ABA3D
analogous
#5E3DBA #9D3DBA #BA3D98
triadic
#9D3DBA #BA9D3D #3DBA9D
tetradic
#9D3DBA #BA5E3D #5ABA3D #3D98BA
square
#9D3DBA #BA5E3D #5ABA3D #3D98BA
split-complementary
#9D3DBA #98BA3D #3DBA5E
monochromatic
#4F1F5E #762E8C #9D3DBA #B567CD #CC95DC

Accessibility & contrast

On white

5.51
#9D3DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9D3DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DBA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DBA#FFFFFF#000000##FFFFFF
##9D3DBA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#416CB7
Tritanopia (blue-blind)
#9C5477
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d3dba;
/* rgb */ color: rgb(157, 61, 186);
/* oklch */ color: oklch(54.5% 0.199 317.4);
Tailwind
colors: {
  custom: {
    50: '#bd7acf',
    500: '#9d3dba',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dba;
$custom-light: #bd7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dba",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 286.08,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54513,
    "c": 0.1993,
    "h": 317.4
  },
  "luminance": 0.14051
}

Semantic roles & 50–950 ramp

primary
#9D3DBA
secondary
#99C88B
accent
#DA4E6E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D3DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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