#9C308E#9C308E

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

Color values

HEX#9C308E
RGBrgb(156, 48, 142)
HSLhsl(308, 53%, 40%)
HSVhsv(308, 69%, 61%)
CMYKcmyk(0%, 69.2%, 9%, 38.8%)
CIE-LABlab(39.81, 55.09, -28.96)
CIE-LCHlch(39.81, 62.24, 332.27°)
OKLaboklab(50.45% 0.1593 -0.0793)
OKLCHoklch(50.45% 0.178 333.5)
XYZxyz(19.6499, 11.1364, 26.7006)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C308E #309C3E
analogous
#74309C #9C308E #9C3058
triadic
#9C308E #8E9C30 #308E9C
tetradic
#9C308E #9C7430 #309C3E #30589C
square
#9C308E #9C7430 #309C3E #30589C
split-complementary
#9C308E #589C30 #309C74
monochromatic
#3E1339 #6D2263 #9C308E #C544B5 #D473C7

Accessibility & contrast

On white

6.51
#9C308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9C308E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C308E
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C308E#FFFFFF#000000##FFFFFF
##9C308E1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5491
Deuteranopia (green-blind)
#53638B
Tritanopia (blue-blind)
#A3395B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c308e;
/* rgb */ color: rgb(156, 48, 142);
/* oklch */ color: oklch(50.4% 0.178 333.5);
Tailwind
colors: {
  custom: {
    50: '#bc72af',
    500: '#9c308e',
    950: '#000000',
  },
}
SCSS
$custom: #9c308e;
$custom-light: #bc72af;
$custom-dark: #000000;
JSON
{
  "hex": "#9c308e",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 307.778,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.50447,
    "c": 0.17789,
    "h": 333.5
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C308E

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

Preview Lab → · Contrast checker → · Palette generator →

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