#9D3294#9D3294

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

Color values

HEX#9D3294
RGBrgb(157, 50, 148)
HSLhsl(305, 52%, 41%)
HSVhsv(305, 68%, 62%)
CMYKcmyk(0%, 68.2%, 5.7%, 38.4%)
CIE-LABlab(40.56, 55.55, -31.43)
CIE-LCHlch(40.56, 63.82, 330.50°)
OKLaboklab(51.12% 0.1586 -0.0863)
OKLCHoklch(51.12% 0.181 331.4)
XYZxyz(20.3905, 11.5890, 29.1742)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3294 #329D3B
analogous
#70329D #9D3294 #9D325E
triadic
#9D3294 #949D32 #32949D
tetradic
#9D3294 #9D7032 #329D3B #325E9D
square
#9D3294 #9D7032 #329D3B #325E9D
split-complementary
#9D3294 #5E9D32 #329D70
monochromatic
#40143C #6F2368 #9D3294 #C548BA #D376CC

Accessibility & contrast

On white

6.33
#9D3294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9D3294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3294
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3294#FFFFFF#000000##FFFFFF
##9D32941.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5697
Deuteranopia (green-blind)
#526591
Tritanopia (blue-blind)
#A33D5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d3294;
/* rgb */ color: rgb(157, 50, 148);
/* oklch */ color: oklch(51.1% 0.181 331.4);
Tailwind
colors: {
  custom: {
    50: '#bd73b4',
    500: '#9d3294',
    950: '#000000',
  },
}
SCSS
$custom: #9d3294;
$custom-light: #bd73b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3294",
  "rgb": {
    "r": 157,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 305.047,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51118,
    "c": 0.18059,
    "h": 331.4
  },
  "luminance": 0.11587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D3294

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

Preview Lab → · Contrast checker → · Palette generator →

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