#9C309E#9C309E

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

Color values

HEX#9C309E
RGBrgb(156, 48, 158)
HSLhsl(299, 53%, 40%)
HSVhsv(299, 70%, 62%)
CMYKcmyk(1.3%, 69.6%, 0%, 38%)
CIE-LABlab(40.66, 57.76, -37.32)
CIE-LCHlch(40.66, 68.77, 327.14°)
OKLaboklab(51.33% 0.1601 -0.1034)
OKLCHoklch(51.33% 0.191 327.2)
XYZxyz(20.9385, 11.6519, 33.4873)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C309E #329E30
analogous
#65309E #9C309E #9E3069
triadic
#9C309E #9E9C30 #309E9C
tetradic
#9C309E #9E6530 #329E30 #30699E
square
#9C309E #9E6530 #329E30 #30699E
split-complementary
#9C309E #699E30 #309E65
monochromatic
#3F1340 #6E226F #9C309E #C445C6 #D374D5

Accessibility & contrast

On white

6.31
#9C309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9C309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C309E
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C309E#FFFFFF#000000##FFFFFF
##9C309E1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C57A1
Deuteranopia (green-blind)
#4B659B
Tritanopia (blue-blind)
#A14063
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c309e;
/* rgb */ color: rgb(156, 48, 158);
/* oklch */ color: oklch(51.3% 0.191 327.2);
Tailwind
colors: {
  custom: {
    50: '#bd72bb',
    500: '#9c309e',
    950: '#000000',
  },
}
SCSS
$custom: #9c309e;
$custom-light: #bd72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c309e",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 298.909,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51333,
    "c": 0.19063,
    "h": 327.2
  },
  "luminance": 0.1165
}

Semantic roles & 50–950 ramp

primary
#9C309E
secondary
#6FBD6D
accent
#DD4B4E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C309E

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

Preview Lab → · Contrast checker → · Palette generator →

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