#9B378E#9B378E

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

Color values

HEX#9B378E
RGBrgb(155, 55, 142)
HSLhsl(308, 48%, 41%)
HSVhsv(308, 65%, 61%)
CMYKcmyk(0%, 64.5%, 8.4%, 39.2%)
CIE-LABlab(40.66, 51.99, -27.64)
CIE-LCHlch(40.66, 58.88, 332.01°)
OKLaboklab(51.04% 0.1499 -0.0755)
OKLCHoklch(51.04% 0.168 333.3)
XYZxyz(19.7663, 11.6555, 26.7946)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B378E #379B44
analogous
#76379B #9B378E #9B375C
triadic
#9B378E #8E9B37 #378E9B
tetradic
#9B378E #9B7637 #379B44 #375C9B
square
#9B378E #9B7637 #379B44 #375C9B
split-complementary
#9B378E #5C9B37 #379B76
monochromatic
#41173B #6E2765 #9B378E #C04FB2 #D07CC5

Accessibility & contrast

On white

6.30
#9B378E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9B378E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B378E
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B378E#FFFFFF#000000##FFFFFF
##9B378E1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345791
Deuteranopia (green-blind)
#55658B
Tritanopia (blue-blind)
#A23F5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b378e;
/* rgb */ color: rgb(155, 55, 142);
/* oklch */ color: oklch(51.0% 0.168 333.3);
Tailwind
colors: {
  custom: {
    50: '#bb75af',
    500: '#9b378e',
    950: '#000000',
  },
}
SCSS
$custom: #9b378e;
$custom-light: #bb75af;
$custom-dark: #000000;
JSON
{
  "hex": "#9b378e",
  "rgb": {
    "r": 155,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 307.8,
    "s": 47.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51035,
    "c": 0.16784,
    "h": 333.3
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#9B378E
secondary
#74BA7D
accent
#D76251
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9B378E

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

Preview Lab → · Contrast checker → · Palette generator →

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