#9B418D#9B418D

#9B418D is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.2% C 0.152 H 333.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9B418D
RGBrgb(155, 65, 141)
HSLhsl(309, 41%, 43%)
HSVhsv(309, 58%, 61%)
CMYKcmyk(0%, 58.1%, 9%, 39.2%)
CIE-LABlab(42.27, 47.31, -24.53)
CIE-LCHlch(42.27, 53.29, 332.59°)
OKLaboklab(52.19% 0.1366 -0.0668)
OKLCHoklch(52.19% 0.152 333.9)
XYZxyz(20.2156, 12.6737, 26.5757)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B418D #419B4F
analogous
#7C419B #9B418D #9B4160
triadic
#9B418D #8D9B41 #418D9B
tetradic
#9B418D #9B7C41 #419B4F #41609B
square
#9B418D #9B7C41 #419B4F #41609B
split-complementary
#9B418D #609B41 #419B7C
monochromatic
#451D3F #702F66 #9B418D #BB5EAD #CD89C3

Accessibility & contrast

On white

5.94
#9B418D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9B418D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B418D
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B418D#FFFFFF#000000##FFFFFF
##9B418D1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8F
Deuteranopia (green-blind)
#5B698B
Tritanopia (blue-blind)
#A24761
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b418d;
/* rgb */ color: rgb(155, 65, 141);
/* oklch */ color: oklch(52.2% 0.152 333.9);
Tailwind
colors: {
  custom: {
    50: '#bb7bae',
    500: '#9b418d',
    950: '#000000',
  },
}
SCSS
$custom: #9b418d;
$custom-light: #bb7bae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b418d",
  "rgb": {
    "r": 155,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 309.333,
    "s": 40.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.152,
    "h": 333.9
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#9B418D
secondary
#80B888
accent
#D16A57
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9B418D

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

Preview Lab → · Contrast checker → · Palette generator →

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