#98378F#98378F

#98378F is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.6% C 0.167 H 331.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#98378F
RGBrgb(152, 55, 143)
HSLhsl(306, 47%, 41%)
HSVhsv(306, 64%, 60%)
CMYKcmyk(0%, 63.8%, 5.9%, 40.4%)
CIE-LABlab(40.23, 51.36, -28.95)
CIE-LCHlch(40.23, 58.96, 330.59°)
OKLaboklab(50.64% 0.1467 -0.0794)
OKLCHoklch(50.64% 0.167 331.6)
XYZxyz(19.2730, 11.3924, 27.1651)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98378F #379840
analogous
#703798 #98378F #98375E
triadic
#98378F #8F9837 #378F98
tetradic
#98378F #987037 #379840 #375E98
square
#98378F #987037 #379840 #375E98
split-complementary
#98378F #5E9837 #379870
monochromatic
#3E163A #6B2765 #98378F #BF4DB4 #CF7AC7

Accessibility & contrast

On white

6.41
#98378F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#98378F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98378F
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98378F#FFFFFF#000000##FFFFFF
##98378F1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325692
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#9E405E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #98378f;
/* rgb */ color: rgb(152, 55, 143);
/* oklch */ color: oklch(50.6% 0.167 331.6);
Tailwind
colors: {
  custom: {
    50: '#b975b0',
    500: '#98378f',
    950: '#000000',
  },
}
SCSS
$custom: #98378f;
$custom-light: #b975b0;
$custom-dark: #000000;
JSON
{
  "hex": "#98378f",
  "rgb": {
    "r": 152,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 305.567,
    "s": 46.86,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50644,
    "c": 0.16676,
    "h": 331.6
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

primary
#98378F
secondary
#73B879
accent
#D65E51
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120910
muted
#817B7F

Preview Lab

Preview with #98378F

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

Preview Lab → · Contrast checker → · Palette generator →

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