#9D3183#9D3183

#9D3183 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.169 H 338.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9D3183
RGBrgb(157, 49, 131)
HSLhsl(314, 52%, 40%)
HSVhsv(314, 69%, 62%)
CMYKcmyk(0%, 68.8%, 16.6%, 38.4%)
CIE-LABlab(39.59, 53.26, -22.55)
CIE-LCHlch(39.59, 57.83, 337.05°)
OKLaboklab(50.15% 0.1577 -0.061)
OKLCHoklch(50.15% 0.169 338.9)
XYZxyz(19.1001, 11.0052, 22.5866)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3183 #319D4B
analogous
#81319D #9D3183 #9D314D
triadic
#9D3183 #839D31 #31839D
tetradic
#9D3183 #9D8131 #319D4B #314D9D
square
#9D3183 #9D8131 #319D4B #314D9D
split-complementary
#9D3183 #4D9D31 #319D81
monochromatic
#401435 #6E225C #9D3183 #C546A7 #D475BD

Accessibility & contrast

On white

6.56
#9D3183 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9D3183 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3183
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3183#FFFFFF#000000##FFFFFF
##9D31831.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365285
Deuteranopia (green-blind)
#586380
Tritanopia (blue-blind)
#A63555
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d3183;
/* rgb */ color: rgb(157, 49, 131);
/* oklch */ color: oklch(50.1% 0.169 338.9);
Tailwind
colors: {
  custom: {
    50: '#bd72a7',
    500: '#9d3183',
    950: '#000000',
  },
}
SCSS
$custom: #9d3183;
$custom-light: #bd72a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3183",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 314.444,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50148,
    "c": 0.1691,
    "h": 338.9
  },
  "luminance": 0.11003
}

Semantic roles & 50–950 ramp

primary
#9D3183
secondary
#6EBC81
accent
#DC6F4C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9D3183

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

Preview Lab → · Contrast checker → · Palette generator →

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