#9B388D#9B388D

#9B388D is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.1% C 0.166 H 333.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9B388D
RGBrgb(155, 56, 141)
HSLhsl(308, 47%, 41%)
HSVhsv(308, 64%, 61%)
CMYKcmyk(0%, 63.9%, 9%, 39.2%)
CIE-LABlab(40.77, 51.40, -26.86)
CIE-LCHlch(40.77, 58.00, 332.41°)
OKLaboklab(51.1% 0.1485 -0.0733)
OKLCHoklch(51.1% 0.166 333.7)
XYZxyz(19.7396, 11.7215, 26.4170)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B388D #389B46
analogous
#78389B #9B388D #9B385C
triadic
#9B388D #8D9B38 #388D9B
tetradic
#9B388D #9B7838 #389B46 #385C9B
square
#9B388D #9B7838 #389B46 #385C9B
split-complementary
#9B388D #5C9B38 #389B78
monochromatic
#41183B #6E2864 #9B388D #C050B0 #D07DC4

Accessibility & contrast

On white

6.28
#9B388D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9B388D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B388D
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B388D#FFFFFF#000000##FFFFFF
##9B388D1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#A23F5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b388d;
/* rgb */ color: rgb(155, 56, 141);
/* oklch */ color: oklch(51.1% 0.166 333.7);
Tailwind
colors: {
  custom: {
    50: '#bb76ae',
    500: '#9b388d',
    950: '#000000',
  },
}
SCSS
$custom: #9b388d;
$custom-light: #bb76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b388d",
  "rgb": {
    "r": 155,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 308.485,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51097,
    "c": 0.16562,
    "h": 333.7
  },
  "luminance": 0.1172
}

Semantic roles & 50–950 ramp

primary
#9B388D
secondary
#75B97F
accent
#D76451
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9B388D

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

Preview Lab → · Contrast checker → · Palette generator →

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