#9C418D#9C418D

#9C418D is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.3% C 0.153 H 334.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9C418D
RGBrgb(156, 65, 141)
HSLhsl(310, 41%, 43%)
HSVhsv(310, 58%, 61%)
CMYKcmyk(0%, 58.3%, 9.6%, 38.8%)
CIE-LABlab(42.42, 47.60, -24.28)
CIE-LCHlch(42.42, 53.43, 332.97°)
OKLaboklab(52.34% 0.1377 -0.066)
OKLCHoklch(52.34% 0.153 334.4)
XYZxyz(20.4084, 12.7731, 26.5847)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C418D #419C50
analogous
#7D419C #9C418D #9C415F
triadic
#9C418D #8D9C41 #418D9C
tetradic
#9C418D #9C7D41 #419C50 #415F9C
square
#9C418D #9C7D41 #419C50 #415F9C
split-complementary
#9C418D #5F9C41 #419C7D
monochromatic
#461D3F #712F66 #9C418D #BC5EAD #CE89C3

Accessibility & contrast

On white

5.91
#9C418D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9C418D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C418D
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C418D#FFFFFF#000000##FFFFFF
##9C418D1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C8F
Deuteranopia (green-blind)
#5C698B
Tritanopia (blue-blind)
#A34761
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c418d;
/* rgb */ color: rgb(156, 65, 141);
/* oklch */ color: oklch(52.3% 0.153 334.4);
Tailwind
colors: {
  custom: {
    50: '#bc7bae',
    500: '#9c418d',
    950: '#000000',
  },
}
SCSS
$custom: #9c418d;
$custom-light: #bc7bae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c418d",
  "rgb": {
    "r": 156,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 309.89,
    "s": 41.176,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52336,
    "c": 0.1527,
    "h": 334.4
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#9C418D
secondary
#80B989
accent
#D16B57
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9C418D

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

Preview Lab → · Contrast checker → · Palette generator →

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