#9C308D#9C308D

#9C308D is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.4% C 0.177 H 334.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9C308D
RGBrgb(156, 48, 141)
HSLhsl(308, 53%, 40%)
HSVhsv(308, 69%, 61%)
CMYKcmyk(0%, 69.2%, 9.6%, 38.8%)
CIE-LABlab(39.76, 54.93, -28.43)
CIE-LCHlch(39.76, 61.85, 332.64°)
OKLaboklab(50.39% 0.1592 -0.0777)
OKLCHoklch(50.39% 0.177 334)
XYZxyz(19.5751, 11.1065, 26.3069)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C308D #309C3F
analogous
#75309C #9C308D #9C3057
triadic
#9C308D #8D9C30 #308D9C
tetradic
#9C308D #9C7530 #309C3F #30579C
square
#9C308D #9C7530 #309C3F #30579C
split-complementary
#9C308D #579C30 #309C75
monochromatic
#3E1338 #6D2263 #9C308D #C544B3 #D473C6

Accessibility & contrast

On white

6.52
#9C308D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9C308D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C308D
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C308D#FFFFFF#000000##FFFFFF
##9C308D1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#53638A
Tritanopia (blue-blind)
#A3395A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c308d;
/* rgb */ color: rgb(156, 48, 141);
/* oklch */ color: oklch(50.4% 0.177 334.0);
Tailwind
colors: {
  custom: {
    50: '#bc72ae',
    500: '#9c308d',
    950: '#000000',
  },
}
SCSS
$custom: #9c308d;
$custom-light: #bc72ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c308d",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 308.333,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.50394,
    "c": 0.17713,
    "h": 334
  },
  "luminance": 0.11105
}

Semantic roles & 50–950 ramp

primary
#9C308D
secondary
#6CBC77
accent
#DC604B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C308D

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

Preview Lab → · Contrast checker → · Palette generator →

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