#98378E#98378E

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

Color values

HEX#98378E
RGBrgb(152, 55, 142)
HSLhsl(306, 47%, 41%)
HSVhsv(306, 64%, 60%)
CMYKcmyk(0%, 63.8%, 6.6%, 40.4%)
CIE-LABlab(40.18, 51.19, -28.42)
CIE-LCHlch(40.18, 58.55, 330.96°)
OKLaboklab(50.59% 0.1466 -0.0779)
OKLCHoklch(50.59% 0.166 332)
XYZxyz(19.1976, 11.3622, 26.7679)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98378E #379841
analogous
#723798 #98378E #98375D
triadic
#98378E #8E9837 #378E98
tetradic
#98378E #987237 #379841 #375D98
square
#98378E #987237 #379841 #375D98
split-complementary
#98378E #5D9837 #379872
monochromatic
#3E163A #6B2764 #98378E #BF4DB3 #CF7AC6

Accessibility & contrast

On white

6.42
#98378E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98378E
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98378E#FFFFFF#000000##FFFFFF
##98378E1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#53648B
Tritanopia (blue-blind)
#9E405D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #98378e;
/* rgb */ color: rgb(152, 55, 142);
/* oklch */ color: oklch(50.6% 0.166 332.0);
Tailwind
colors: {
  custom: {
    50: '#b975af',
    500: '#98378e',
    950: '#000000',
  },
}
SCSS
$custom: #98378e;
$custom-light: #b975af;
$custom-dark: #000000;
JSON
{
  "hex": "#98378e",
  "rgb": {
    "r": 152,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 306.186,
    "s": 46.86,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50591,
    "c": 0.16595,
    "h": 332
  },
  "luminance": 0.11361
}

Semantic roles & 50–950 ramp

primary
#98378E
secondary
#73B87A
accent
#D65F51
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98378E

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

Preview Lab → · Contrast checker → · Palette generator →

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