#9D3DCD#9D3DCD

#9D3DCD is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.217 H 311.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9D3DCD
RGBrgb(157, 61, 205)
HSLhsl(280, 59%, 52%)
HSVhsv(280, 70%, 80%)
CMYKcmyk(23.4%, 70.2%, 0%, 19.6%)
CIE-LABlab(45.52, 61.86, -57.20)
CIE-LCHlch(45.52, 84.25, 317.24°)
OKLaboklab(55.76% 0.1452 -0.1616)
OKLCHoklch(55.76% 0.217 311.9)
XYZxyz(26.5908, 14.9141, 59.2237)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DCD #6DCD3D
analogous
#553DCD #9D3DCD #CD3DB5
triadic
#9D3DCD #CD9D3D #3DCD9D
tetradic
#9D3DCD #CD553D #6DCD3D #3DB5CD
square
#9D3DCD #CD553D #6DCD3D #3DB5CD
split-complementary
#9D3DCD #B5CD3D #3DCD55
monochromatic
#561D72 #7B2AA3 #9D3DCD #B66EDA #CE9EE6

Accessibility & contrast

On white

5.27
#9D3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9D3DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DCD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DCD#FFFFFF#000000##FFFFFF
##9D3DCD1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#2C6ECA
Tritanopia (blue-blind)
#975C81
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3dcd;
/* rgb */ color: rgb(157, 61, 205);
/* oklch */ color: oklch(55.8% 0.217 311.9);
Tailwind
colors: {
  custom: {
    50: '#be7add',
    500: '#9d3dcd',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dcd;
$custom-light: #be7add;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dcd",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 205
  },
  "hsl": {
    "h": 280,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55764,
    "c": 0.21722,
    "h": 311.9
  },
  "luminance": 0.14913
}

Semantic roles & 50–950 ramp

primary
#9D3DCD
secondary
#A8D293
accent
#E2467A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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