#9D418F#9D418F

#9D418F is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.6% C 0.155 H 333.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9D418F
RGBrgb(157, 65, 143)
HSLhsl(309, 41%, 44%)
HSVhsv(309, 59%, 62%)
CMYKcmyk(0%, 58.6%, 8.9%, 38.4%)
CIE-LABlab(42.66, 48.22, -25.10)
CIE-LCHlch(42.66, 54.37, 332.50°)
OKLaboklab(52.58% 0.1392 -0.0683)
OKLCHoklch(52.58% 0.155 333.8)
XYZxyz(20.7529, 12.9334, 27.3846)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D418F #419D4F
analogous
#7D419D #9D418F #9D4161
triadic
#9D418F #8F9D41 #418F9D
tetradic
#9D418F #9D7D41 #419D4F #41619D
square
#9D418F #9D7D41 #419D4F #41619D
split-complementary
#9D418F #619D41 #419D7D
monochromatic
#461D40 #722F68 #9D418F #BD5FAE #CF8AC4

Accessibility & contrast

On white

5.86
#9D418F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9D418F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D418F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D418F#FFFFFF#000000##FFFFFF
##9D418F1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C91
Deuteranopia (green-blind)
#5C6A8D
Tritanopia (blue-blind)
#A44762
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d418f;
/* rgb */ color: rgb(157, 65, 143);
/* oklch */ color: oklch(52.6% 0.155 333.8);
Tailwind
colors: {
  custom: {
    50: '#bc7bb0',
    500: '#9d418f',
    950: '#000000',
  },
}
SCSS
$custom: #9d418f;
$custom-light: #bc7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d418f",
  "rgb": {
    "r": 157,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 309.13,
    "s": 41.441,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52575,
    "c": 0.15504,
    "h": 333.8
  },
  "luminance": 0.12932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D418F

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

Preview Lab → · Contrast checker → · Palette generator →

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