#98379D#98379D

#98379D is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.4% C 0.179 H 325.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#98379D
RGBrgb(152, 55, 157)
HSLhsl(297, 48%, 42%)
HSVhsv(297, 65%, 62%)
CMYKcmyk(3.2%, 65%, 0%, 38.4%)
CIE-LABlab(40.97, 53.82, -36.27)
CIE-LCHlch(40.97, 64.90, 326.03°)
OKLaboklab(51.41% 0.1477 -0.1005)
OKLCHoklch(51.41% 0.179 325.8)
XYZxyz(20.4005, 11.8434, 33.1032)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98379D #3C9D37
analogous
#65379D #98379D #9D376F
triadic
#98379D #9D9837 #379D98
tetradic
#98379D #9D6537 #3C9D37 #376F9D
square
#98379D #9D6537 #3C9D37 #376F9D
split-complementary
#98379D #6F9D37 #379D65
monochromatic
#401742 #6C2770 #98379D #BC50C2 #CD7DD1

Accessibility & contrast

On white

6.23
#98379D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#98379D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98379D
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98379D#FFFFFF#000000##FFFFFF
##98379D1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2659A0
Deuteranopia (green-blind)
#4C659A
Tritanopia (blue-blind)
#9C4665
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #98379d;
/* rgb */ color: rgb(152, 55, 157);
/* oklch */ color: oklch(51.4% 0.179 325.8);
Tailwind
colors: {
  custom: {
    50: '#b975ba',
    500: '#98379d',
    950: '#000000',
  },
}
SCSS
$custom: #98379d;
$custom-light: #b975ba;
$custom-dark: #000000;
JSON
{
  "hex": "#98379d",
  "rgb": {
    "r": 152,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 297.059,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51413,
    "c": 0.17866,
    "h": 325.8
  },
  "luminance": 0.11842
}

Semantic roles & 50–950 ramp

primary
#98379D
secondary
#79BB75
accent
#D85057
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #98379D

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

Preview Lab → · Contrast checker → · Palette generator →

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