#9D3DC9#9D3DC9

#9D3DC9 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.213 H 313.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9D3DC9
RGBrgb(157, 61, 201)
HSLhsl(281, 56%, 51%)
HSVhsv(281, 70%, 79%)
CMYKcmyk(21.9%, 69.7%, 0%, 21.2%)
CIE-LABlab(45.25, 61.03, -55.31)
CIE-LCHlch(45.25, 82.36, 317.81°)
OKLaboklab(55.49% 0.1456 -0.156)
OKLCHoklch(55.49% 0.213 313)
XYZxyz(26.1141, 14.7234, 56.7133)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DC9 #69C93D
analogous
#573DC9 #9D3DC9 #C93DAF
triadic
#9D3DC9 #C99D3D #3DC99D
tetradic
#9D3DC9 #C9573D #69C93D #3DAFC9
square
#9D3DC9 #C9573D #69C93D #3DAFC9
split-complementary
#9D3DC9 #AFC93D #3DC957
monochromatic
#541E6D #792C9D #9D3DC9 #B56DD6 #CD9DE4

Accessibility & contrast

On white

5.32
#9D3DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9D3DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DC9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DC9#FFFFFF#000000##FFFFFF
##9D3DC91.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CD
Deuteranopia (green-blind)
#316DC6
Tritanopia (blue-blind)
#985A7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d3dc9;
/* rgb */ color: rgb(157, 61, 201);
/* oklch */ color: oklch(55.5% 0.213 313.0);
Tailwind
colors: {
  custom: {
    50: '#be7ada',
    500: '#9d3dc9',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dc9;
$custom-light: #be7ada;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dc9",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 201
  },
  "hsl": {
    "h": 281.143,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55493,
    "c": 0.21342,
    "h": 313
  },
  "luminance": 0.14723
}

Semantic roles & 50–950 ramp

primary
#9D3DC9
secondary
#A5D092
accent
#E04878
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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