#9D3192#9D3192

#9D3192 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.180 H 332.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9D3192
RGBrgb(157, 49, 146)
HSLhsl(306, 52%, 40%)
HSVhsv(306, 69%, 62%)
CMYKcmyk(0%, 68.8%, 7%, 38.4%)
CIE-LABlab(40.31, 55.61, -30.59)
CIE-LCHlch(40.31, 63.47, 331.18°)
OKLaboklab(50.91% 0.1596 -0.0839)
OKLCHoklch(50.91% 0.18 332.3)
XYZxyz(20.1913, 11.4416, 28.3336)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3192 #319D3C
analogous
#72319D #9D3192 #9D315C
triadic
#9D3192 #929D31 #31929D
tetradic
#9D3192 #9D7231 #319D3C #315C9D
square
#9D3192 #9D7231 #319D3C #315C9D
split-complementary
#9D3192 #5C9D31 #319D72
monochromatic
#40143B #6E2267 #9D3192 #C546B8 #D475CA

Accessibility & contrast

On white

6.39
#9D3192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9D3192 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3192
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3192#FFFFFF#000000##FFFFFF
##9D31921.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5595
Deuteranopia (green-blind)
#52648F
Tritanopia (blue-blind)
#A43C5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d3192;
/* rgb */ color: rgb(157, 49, 146);
/* oklch */ color: oklch(50.9% 0.180 332.3);
Tailwind
colors: {
  custom: {
    50: '#bd72b2',
    500: '#9d3192',
    950: '#000000',
  },
}
SCSS
$custom: #9d3192;
$custom-light: #bd72b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3192",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 306.111,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5091,
    "c": 0.1803,
    "h": 332.3
  },
  "luminance": 0.1144
}

Semantic roles & 50–950 ramp

primary
#9D3192
secondary
#6EBC76
accent
#DC5B4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9D3192

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

Preview Lab → · Contrast checker → · Palette generator →

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