#9D3DC4#9D3DC4

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

Color values

HEX#9D3DC4
RGBrgb(157, 61, 196)
HSLhsl(283, 53%, 50%)
HSVhsv(283, 69%, 77%)
CMYKcmyk(19.9%, 68.9%, 0%, 23.1%)
CIE-LABlab(44.93, 60.00, -52.93)
CIE-LCHlch(44.93, 80.01, 318.58°)
OKLaboklab(55.16% 0.1461 -0.1491)
OKLCHoklch(55.16% 0.209 314.4)
XYZxyz(25.5355, 14.4920, 53.6659)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DC4 #64C43D
analogous
#593DC4 #9D3DC4 #C43DA7
triadic
#9D3DC4 #C49D3D #3DC49D
tetradic
#9D3DC4 #C4593D #64C43D #3DA7C4
square
#9D3DC4 #C4593D #64C43D #3DA7C4
split-complementary
#9D3DC4 #A7C43D #3DC459
monochromatic
#521F67 #782E96 #9D3DC4 #B56CD2 #CC9BE1

Accessibility & contrast

On white

5.39
#9D3DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9D3DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DC4
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DC4#FFFFFF#000000##FFFFFF
##9D3DC41.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#376DC1
Tritanopia (blue-blind)
#9A587C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d3dc4;
/* rgb */ color: rgb(157, 61, 196);
/* oklch */ color: oklch(55.2% 0.209 314.4);
Tailwind
colors: {
  custom: {
    50: '#be7ad7',
    500: '#9d3dc4',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dc4;
$custom-light: #be7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dc4",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 282.667,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55159,
    "c": 0.20869,
    "h": 314.4
  },
  "luminance": 0.14491
}

Semantic roles & 50–950 ramp

primary
#9D3DC4
secondary
#A2CD90
accent
#DD4B75
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9D3DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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