#9D3DC2#9D3DC2

#9D3DC2 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.0% C 0.207 H 315.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9D3DC2
RGBrgb(157, 61, 194)
HSLhsl(283, 52%, 50%)
HSVhsv(283, 69%, 76%)
CMYKcmyk(19.1%, 68.6%, 0%, 23.9%)
CIE-LABlab(44.80, 59.59, -51.97)
CIE-LCHlch(44.80, 79.07, 318.91°)
OKLaboklab(55.03% 0.1462 -0.1462)
OKLCHoklch(55.03% 0.207 315)
XYZxyz(25.3094, 14.4015, 52.4750)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DC2 #62C23D
analogous
#5A3DC2 #9D3DC2 #C23DA5
triadic
#9D3DC2 #C29D3D #3DC29D
tetradic
#9D3DC2 #C25A3D #62C23D #3DA5C2
square
#9D3DC2 #C25A3D #62C23D #3DA5C2
split-complementary
#9D3DC2 #A5C23D #3DC25A
monochromatic
#522065 #772E93 #9D3DC2 #B56CD1 #CC9ADF

Accessibility & contrast

On white

5.41
#9D3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9D3DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DC2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DC2#FFFFFF#000000##FFFFFF
##9D3DC21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#396CBF
Tritanopia (blue-blind)
#9A587B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d3dc2;
/* rgb */ color: rgb(157, 61, 194);
/* oklch */ color: oklch(55.0% 0.207 315.0);
Tailwind
colors: {
  custom: {
    50: '#be7ad5',
    500: '#9d3dc2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dc2;
$custom-light: #be7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dc2",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 283.308,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.55028,
    "c": 0.20681,
    "h": 315
  },
  "luminance": 0.14401
}

Semantic roles & 50–950 ramp

primary
#9D3DC2
secondary
#A0CB90
accent
#DC4C74
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #9D3DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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