#98378D#98378D

#98378D is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.5% C 0.165 H 332.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#98378D
RGBrgb(152, 55, 141)
HSLhsl(307, 47%, 41%)
HSVhsv(307, 64%, 60%)
CMYKcmyk(0%, 63.8%, 7.2%, 40.4%)
CIE-LABlab(40.13, 51.02, -27.89)
CIE-LCHlch(40.13, 58.15, 331.34°)
OKLaboklab(50.54% 0.1464 -0.0763)
OKLCHoklch(50.54% 0.165 332.5)
XYZxyz(19.1228, 11.3323, 26.3743)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98378D #379842
analogous
#723798 #98378D #98375C
triadic
#98378D #8D9837 #378D98
tetradic
#98378D #987237 #379842 #375C98
square
#98378D #987237 #379842 #375C98
split-complementary
#98378D #5C9837 #379872
monochromatic
#3E163A #6B2763 #98378D #BF4DB2 #CF7AC5

Accessibility & contrast

On white

6.43
#98378D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#98378D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98378D
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98378D#FFFFFF#000000##FFFFFF
##98378D1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335690
Deuteranopia (green-blind)
#53648A
Tritanopia (blue-blind)
#9E3F5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #98378d;
/* rgb */ color: rgb(152, 55, 141);
/* oklch */ color: oklch(50.5% 0.165 332.5);
Tailwind
colors: {
  custom: {
    50: '#b975ae',
    500: '#98378d',
    950: '#000000',
  },
}
SCSS
$custom: #98378d;
$custom-light: #b975ae;
$custom-dark: #000000;
JSON
{
  "hex": "#98378d",
  "rgb": {
    "r": 152,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 306.804,
    "s": 46.86,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50539,
    "c": 0.16513,
    "h": 332.5
  },
  "luminance": 0.11331
}

Semantic roles & 50–950 ramp

primary
#98378D
secondary
#73B87B
accent
#D66051
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98378D

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

Preview Lab → · Contrast checker → · Palette generator →

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