#9D3DCA#9D3DCA

#9D3DCA is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.214 H 312.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9D3DCA
RGBrgb(157, 61, 202)
HSLhsl(281, 57%, 52%)
HSVhsv(281, 70%, 79%)
CMYKcmyk(22.3%, 69.8%, 0%, 20.8%)
CIE-LABlab(45.32, 61.23, -55.78)
CIE-LCHlch(45.32, 82.83, 317.67°)
OKLaboklab(55.56% 0.1455 -0.1574)
OKLCHoklch(55.56% 0.214 312.7)
XYZxyz(26.2321, 14.7706, 57.3348)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DCA #6ACA3D
analogous
#573DCA #9D3DCA #CA3DB1
triadic
#9D3DCA #CA9D3D #3DCA9D
tetradic
#9D3DCA #CA573D #6ACA3D #3DB1CA
square
#9D3DCA #CA573D #6ACA3D #3DB1CA
split-complementary
#9D3DCA #B1CA3D #3DCA57
monochromatic
#551E6E #7A2B9F #9D3DCA #B56DD7 #CE9DE4

Accessibility & contrast

On white

5.31
#9D3DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9D3DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DCA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DCA#FFFFFF#000000##FFFFFF
##9D3DCA1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#306DC7
Tritanopia (blue-blind)
#985B7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d3dca;
/* rgb */ color: rgb(157, 61, 202);
/* oklch */ color: oklch(55.6% 0.214 312.7);
Tailwind
colors: {
  custom: {
    50: '#be7adb',
    500: '#9d3dca',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dca;
$custom-light: #be7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dca",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 280.851,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5556,
    "c": 0.21437,
    "h": 312.7
  },
  "luminance": 0.1477
}

Semantic roles & 50–950 ramp

primary
#9D3DCA
secondary
#A6D092
accent
#E04778
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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