#9D3293#9D3293

#9D3293 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.180 H 331.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9D3293
RGBrgb(157, 50, 147)
HSLhsl(306, 52%, 41%)
HSVhsv(306, 68%, 62%)
CMYKcmyk(0%, 68.2%, 6.4%, 38.4%)
CIE-LABlab(40.50, 55.38, -30.90)
CIE-LCHlch(40.50, 63.42, 330.84°)
OKLaboklab(51.06% 0.1585 -0.0848)
OKLCHoklch(51.06% 0.18 331.8)
XYZxyz(20.3117, 11.5575, 28.7591)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3293 #329D3C
analogous
#71329D #9D3293 #9D325E
triadic
#9D3293 #939D32 #32939D
tetradic
#9D3293 #9D7132 #329D3C #325E9D
square
#9D3293 #9D7132 #329D3C #325E9D
split-complementary
#9D3293 #5E9D32 #329D71
monochromatic
#40143C #6F2368 #9D3293 #C548B9 #D376CB

Accessibility & contrast

On white

6.34
#9D3293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9D3293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3293
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3293#FFFFFF#000000##FFFFFF
##9D32931.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5696
Deuteranopia (green-blind)
#526590
Tritanopia (blue-blind)
#A33D5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d3293;
/* rgb */ color: rgb(157, 50, 147);
/* oklch */ color: oklch(51.1% 0.180 331.8);
Tailwind
colors: {
  custom: {
    50: '#bd73b3',
    500: '#9d3293',
    950: '#000000',
  },
}
SCSS
$custom: #9d3293;
$custom-light: #bd73b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3293",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 147
  },
  "hsl": {
    "h": 305.607,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51064,
    "c": 0.1798,
    "h": 331.8
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

primary
#9D3293
secondary
#6FBC76
accent
#DB5A4D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9D3293

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

Preview Lab → · Contrast checker → · Palette generator →

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