#9D3DC7#9D3DC7

#9D3DC7 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.212 H 313.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9D3DC7
RGBrgb(157, 61, 199)
HSLhsl(282, 55%, 51%)
HSVhsv(282, 69%, 78%)
CMYKcmyk(21.1%, 69.3%, 0%, 22%)
CIE-LABlab(45.12, 60.62, -54.36)
CIE-LCHlch(45.12, 81.42, 318.11°)
OKLaboklab(55.36% 0.1458 -0.1533)
OKLCHoklch(55.36% 0.212 313.6)
XYZxyz(25.8804, 14.6299, 55.4823)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DC7 #67C73D
analogous
#583DC7 #9D3DC7 #C73DAC
triadic
#9D3DC7 #C79D3D #3DC79D
tetradic
#9D3DC7 #C7583D #67C73D #3DACC7
square
#9D3DC7 #C7583D #67C73D #3DACC7
split-complementary
#9D3DC7 #ACC73D #3DC758
monochromatic
#541F6B #792D9A #9D3DC7 #B56CD5 #CD9CE2

Accessibility & contrast

On white

5.35
#9D3DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9D3DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DC7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DC7#FFFFFF#000000##FFFFFF
##9D3DC71.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#346DC4
Tritanopia (blue-blind)
#995A7E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d3dc7;
/* rgb */ color: rgb(157, 61, 199);
/* oklch */ color: oklch(55.4% 0.212 313.6);
Tailwind
colors: {
  custom: {
    50: '#be7ad9',
    500: '#9d3dc7',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dc7;
$custom-light: #be7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dc7",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 281.739,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55358,
    "c": 0.21153,
    "h": 313.6
  },
  "luminance": 0.14629
}

Semantic roles & 50–950 ramp

primary
#9D3DC7
secondary
#A4CE91
accent
#DF4977
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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