#9D3DCC#9D3DCC

#9D3DCC is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.216 H 312.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9D3DCC
RGBrgb(157, 61, 204)
HSLhsl(280, 58%, 52%)
HSVhsv(280, 70%, 80%)
CMYKcmyk(23%, 70.1%, 0%, 20%)
CIE-LABlab(45.45, 61.65, -56.73)
CIE-LCHlch(45.45, 83.78, 317.38°)
OKLaboklab(55.7% 0.1453 -0.1602)
OKLCHoklch(55.7% 0.216 312.2)
XYZxyz(26.4705, 14.8659, 58.5900)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3DCC #6CCC3D
analogous
#563DCC #9D3DCC #CC3DB3
triadic
#9D3DCC #CC9D3D #3DCC9D
tetradic
#9D3DCC #CC563D #6CCC3D #3DB3CC
square
#9D3DCC #CC563D #6CCC3D #3DB3CC
split-complementary
#9D3DCC #B3CC3D #3DCC56
monochromatic
#561E71 #7A2AA1 #9D3DCC #B56DD9 #CE9EE5

Accessibility & contrast

On white

5.29
#9D3DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9D3DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3DCC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3DCC#FFFFFF#000000##FFFFFF
##9D3DCC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#2D6EC9
Tritanopia (blue-blind)
#985C80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3dcc;
/* rgb */ color: rgb(157, 61, 204);
/* oklch */ color: oklch(55.7% 0.216 312.2);
Tailwind
colors: {
  custom: {
    50: '#be7adc',
    500: '#9d3dcc',
    950: '#000000',
  },
}
SCSS
$custom: #9d3dcc;
$custom-light: #be7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3dcc",
  "rgb": {
    "r": 157,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 280.28,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55696,
    "c": 0.21626,
    "h": 312.2
  },
  "luminance": 0.14865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D3DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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