#98378B#98378B

#98378B is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.4% C 0.164 H 333.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#98378B
RGBrgb(152, 55, 139)
HSLhsl(308, 47%, 41%)
HSVhsv(308, 64%, 60%)
CMYKcmyk(0%, 63.8%, 8.6%, 40.4%)
CIE-LABlab(40.04, 50.69, -26.82)
CIE-LCHlch(40.04, 57.35, 332.11°)
OKLaboklab(50.44% 0.1462 -0.0733)
OKLCHoklch(50.44% 0.164 333.4)
XYZxyz(18.9753, 11.2733, 25.5977)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98378B #379844
analogous
#743798 #98378B #98375A
triadic
#98378B #8B9837 #378B98
tetradic
#98378B #987437 #379844 #375A98
square
#98378B #987437 #379844 #375A98
split-complementary
#98378B #5A9837 #379874
monochromatic
#3E1639 #6B2762 #98378B #BF4DB0 #CF7AC4

Accessibility & contrast

On white

6.45
#98378B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#98378B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98378B
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98378B#FFFFFF#000000##FFFFFF
##98378B1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558E
Deuteranopia (green-blind)
#546388
Tritanopia (blue-blind)
#9F3F5C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98378b;
/* rgb */ color: rgb(152, 55, 139);
/* oklch */ color: oklch(50.4% 0.164 333.4);
Tailwind
colors: {
  custom: {
    50: '#b975ad',
    500: '#98378b',
    950: '#000000',
  },
}
SCSS
$custom: #98378b;
$custom-light: #b975ad;
$custom-dark: #000000;
JSON
{
  "hex": "#98378b",
  "rgb": {
    "r": 152,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 308.041,
    "s": 46.86,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50436,
    "c": 0.16351,
    "h": 333.4
  },
  "luminance": 0.11272
}

Semantic roles & 50–950 ramp

primary
#98378B
secondary
#73B87C
accent
#D66351
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98378B

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

Preview Lab → · Contrast checker → · Palette generator →

#98378B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva