#9B388E#9B388E

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

Color values

HEX#9B388E
RGBrgb(155, 56, 142)
HSLhsl(308, 47%, 41%)
HSVhsv(308, 64%, 61%)
CMYKcmyk(0%, 63.9%, 8.4%, 39.2%)
CIE-LABlab(40.82, 51.57, -27.39)
CIE-LCHlch(40.82, 58.39, 332.02°)
OKLaboklab(51.15% 0.1486 -0.0749)
OKLCHoklch(51.15% 0.166 333.3)
XYZxyz(19.8143, 11.7514, 26.8106)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B388E #389B45
analogous
#77389B #9B388E #9B385D
triadic
#9B388E #8E9B38 #388E9B
tetradic
#9B388E #9B7738 #389B45 #385D9B
square
#9B388E #9B7738 #389B45 #385D9B
split-complementary
#9B388E #5D9B38 #389B77
monochromatic
#41183C #6E2865 #9B388E #C050B1 #D07DC5

Accessibility & contrast

On white

6.27
#9B388E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9B388E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B388E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B388E#FFFFFF#000000##FFFFFF
##9B388E1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#56658B
Tritanopia (blue-blind)
#A2405E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b388e;
/* rgb */ color: rgb(155, 56, 142);
/* oklch */ color: oklch(51.1% 0.166 333.3);
Tailwind
colors: {
  custom: {
    50: '#bb76af',
    500: '#9b388e',
    950: '#000000',
  },
}
SCSS
$custom: #9b388e;
$custom-light: #bb76af;
$custom-dark: #000000;
JSON
{
  "hex": "#9b388e",
  "rgb": {
    "r": 155,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 307.879,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51148,
    "c": 0.16642,
    "h": 333.3
  },
  "luminance": 0.1175
}

Semantic roles & 50–950 ramp

primary
#9B388E
secondary
#75B97E
accent
#D76351
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9B388E

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

Preview Lab → · Contrast checker → · Palette generator →

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