#9D309F#9D309F

#9D309F is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.192 H 327.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9D309F
RGBrgb(157, 48, 159)
HSLhsl(299, 54%, 41%)
HSVhsv(299, 70%, 62%)
CMYKcmyk(1.3%, 69.8%, 0%, 37.6%)
CIE-LABlab(40.88, 58.17, -37.56)
CIE-LCHlch(40.88, 69.24, 327.15°)
OKLaboklab(51.54% 0.1613 -0.1041)
OKLCHoklch(51.54% 0.192 327.2)
XYZxyz(21.2193, 11.7867, 33.9516)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D309F #329F30
analogous
#65309F #9D309F #9F3069
triadic
#9D309F #9F9D30 #309F9D
tetradic
#9D309F #9F6530 #329F30 #30699F
square
#9D309F #9F6530 #329F30 #30699F
split-complementary
#9D309F #699F30 #309F65
monochromatic
#401441 #6F2270 #9D309F #C545C7 #D374D5

Accessibility & contrast

On white

6.26
#9D309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9D309F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D309F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D309F#FFFFFF#000000##FFFFFF
##9D309F1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C57A2
Deuteranopia (green-blind)
#4B659C
Tritanopia (blue-blind)
#A24164
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d309f;
/* rgb */ color: rgb(157, 48, 159);
/* oklch */ color: oklch(51.5% 0.192 327.2);
Tailwind
colors: {
  custom: {
    50: '#bd72bc',
    500: '#9d309f',
    950: '#000000',
  },
}
SCSS
$custom: #9d309f;
$custom-light: #bd72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d309f",
  "rgb": {
    "r": 157,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 298.919,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5154,
    "c": 0.19195,
    "h": 327.2
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#9D309F
secondary
#6FBD6E
accent
#DD4B4D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9D309F

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

Preview Lab → · Contrast checker → · Palette generator →

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