#98379B#98379B

#98379B is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.3% C 0.177 H 326.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#98379B
RGBrgb(152, 55, 155)
HSLhsl(298, 48%, 41%)
HSVhsv(298, 65%, 61%)
CMYKcmyk(1.9%, 64.5%, 0%, 39.2%)
CIE-LABlab(40.86, 53.46, -35.23)
CIE-LCHlch(40.86, 64.03, 326.61°)
OKLaboklab(51.3% 0.1476 -0.0975)
OKLCHoklch(51.3% 0.177 326.6)
XYZxyz(20.2311, 11.7756, 32.2113)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98379B #3A9B37
analogous
#66379B #98379B #9B376C
triadic
#98379B #9B9837 #379B98
tetradic
#98379B #9B6637 #3A9B37 #376C9B
square
#98379B #9B6637 #3A9B37 #376C9B
split-complementary
#98379B #6C9B37 #379B66
monochromatic
#3F1741 #6C276E #98379B #BD4FC0 #CE7CD0

Accessibility & contrast

On white

6.26
#98379B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#98379B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98379B
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98379B#FFFFFF#000000##FFFFFF
##98379B1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28589E
Deuteranopia (green-blind)
#4D6598
Tritanopia (blue-blind)
#9C4564
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #98379b;
/* rgb */ color: rgb(152, 55, 155);
/* oklch */ color: oklch(51.3% 0.177 326.6);
Tailwind
colors: {
  custom: {
    50: '#b975b9',
    500: '#98379b',
    950: '#000000',
  },
}
SCSS
$custom: #98379b;
$custom-light: #b975b9;
$custom-dark: #000000;
JSON
{
  "hex": "#98379b",
  "rgb": {
    "r": 152,
    "g": 55,
    "b": 155
  },
  "hsl": {
    "h": 298.2,
    "s": 47.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51299,
    "c": 0.17692,
    "h": 326.6
  },
  "luminance": 0.11774
}

Semantic roles & 50–950 ramp

primary
#98379B
secondary
#76BA74
accent
#D75155
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #98379B

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

Preview Lab → · Contrast checker → · Palette generator →

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