#9D3DC5#9D3DC5

#9D3DC5 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.210 H 314.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9D3DC5
RGBrgb(157, 61, 197)
HSLhsl(282, 54%, 51%)
HSVhsv(282, 69%, 77%)
CMYKcmyk(20.3%, 69%, 0%, 22.7%)
CIE-LABlab(44.99, 60.20, -53.41)
CIE-LCHlch(44.99, 80.48, 318.42°)
OKLaboklab(55.23% 0.146 -0.1505)
OKLCHoklch(55.23% 0.21 314.1)
XYZxyz(25.6497, 14.5376, 54.2674)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DC5 #65C53D
analogous
#593DC5 #9D3DC5 #C53DA9
triadic
#9D3DC5 #C59D3D #3DC59D
tetradic
#9D3DC5 #C5593D #65C53D #3DA9C5
square
#9D3DC5 #C5593D #65C53D #3DA9C5
split-complementary
#9D3DC5 #A9C53D #3DC559
monochromatic
#531F68 #782D98 #9D3DC5 #B56CD3 #CD9BE1

Accessibility & contrast

On white

5.37
#9D3DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9D3DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DC5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DC5#FFFFFF#000000##FFFFFF
##9D3DC51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#366DC2
Tritanopia (blue-blind)
#99597D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d3dc5;
/* rgb */ color: rgb(157, 61, 197);
/* oklch */ color: oklch(55.2% 0.210 314.1);
Tailwind
colors: {
  custom: {
    50: '#be7ad7',
    500: '#9d3dc5',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dc5;
$custom-light: #be7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dc5",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 282.353,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55225,
    "c": 0.20965,
    "h": 314.1
  },
  "luminance": 0.14537
}

Semantic roles & 50–950 ramp

primary
#9D3DC5
secondary
#A2CD91
accent
#DD4A76
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9D3DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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