#9B418F#9B418F

#9B418F is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.3% C 0.154 H 333.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9B418F
RGBrgb(155, 65, 143)
HSLhsl(308, 41%, 43%)
HSVhsv(308, 58%, 61%)
CMYKcmyk(0%, 58.1%, 7.7%, 39.2%)
CIE-LABlab(42.36, 47.65, -25.60)
CIE-LCHlch(42.36, 54.09, 331.75°)
OKLaboklab(52.29% 0.1369 -0.0698)
OKLCHoklch(52.29% 0.154 333)
XYZxyz(20.3658, 12.7338, 27.3665)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B418F #419B4D
analogous
#7A419B #9B418F #9B4162
triadic
#9B418F #8F9B41 #418F9B
tetradic
#9B418F #9B7A41 #419B4D #41629B
square
#9B418F #9B7A41 #419B4D #41629B
split-complementary
#9B418F #629B41 #419B7A
monochromatic
#451D3F #702F67 #9B418F #BB5EAF #CD89C4

Accessibility & contrast

On white

5.92
#9B418F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B418F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B418F#FFFFFF#000000##FFFFFF
##9B418F1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C91
Deuteranopia (green-blind)
#5A698D
Tritanopia (blue-blind)
#A14862
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b418f;
/* rgb */ color: rgb(155, 65, 143);
/* oklch */ color: oklch(52.3% 0.154 333.0);
Tailwind
colors: {
  custom: {
    50: '#bb7bb0',
    500: '#9b418f',
    950: '#000000',
  },
}
SCSS
$custom: #9b418f;
$custom-light: #bb7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b418f",
  "rgb": {
    "r": 155,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 308,
    "s": 40.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52291,
    "c": 0.15366,
    "h": 333
  },
  "luminance": 0.12732
}

Semantic roles & 50–950 ramp

primary
#9B418F
secondary
#80B887
accent
#D16757
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9B418F

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

Preview Lab → · Contrast checker → · Palette generator →

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