#9C309F#9C309F

#9C309F is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.191 H 326.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9C309F
RGBrgb(156, 48, 159)
HSLhsl(298, 54%, 41%)
HSVhsv(298, 70%, 62%)
CMYKcmyk(1.9%, 69.8%, 0%, 37.6%)
CIE-LABlab(40.71, 57.94, -37.83)
CIE-LCHlch(40.71, 69.19, 326.86°)
OKLaboklab(51.39% 0.1602 -0.1049)
OKLCHoklch(51.39% 0.191 326.8)
XYZxyz(21.0249, 11.6864, 33.9425)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C309F #339F30
analogous
#64309F #9C309F #9F306B
triadic
#9C309F #9F9C30 #309F9C
tetradic
#9C309F #9F6430 #339F30 #306B9F
square
#9C309F #9F6430 #339F30 #306B9F
split-complementary
#9C309F #6B9F30 #309F64
monochromatic
#401441 #6E2270 #9C309F #C345C7 #D374D5

Accessibility & contrast

On white

6.29
#9C309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9C309F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C309F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C309F#FFFFFF#000000##FFFFFF
##9C309F1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B57A2
Deuteranopia (green-blind)
#4A659C
Tritanopia (blue-blind)
#A04164
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c309f;
/* rgb */ color: rgb(156, 48, 159);
/* oklch */ color: oklch(51.4% 0.191 326.8);
Tailwind
colors: {
  custom: {
    50: '#bd72bc',
    500: '#9c309f',
    950: '#000000',
  },
}
SCSS
$custom: #9c309f;
$custom-light: #bd72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c309f",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 298.378,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51392,
    "c": 0.19144,
    "h": 326.8
  },
  "luminance": 0.11685
}

Semantic roles & 50–950 ramp

primary
#9C309F
secondary
#70BD6E
accent
#DD4B4F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C309F

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

Preview Lab → · Contrast checker → · Palette generator →

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