#98328D#98328D

#98328D is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.0% C 0.172 H 332.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#98328D
RGBrgb(152, 50, 141)
HSLhsl(306, 50%, 40%)
HSVhsv(306, 67%, 60%)
CMYKcmyk(0%, 67.1%, 7.2%, 40.4%)
CIE-LABlab(39.38, 53.12, -29.07)
CIE-LCHlch(39.38, 60.55, 331.31°)
OKLaboklab(49.99% 0.1525 -0.0797)
OKLCHoklch(49.99% 0.172 332.4)
XYZxyz(18.8972, 10.8812, 26.2991)
Luminance0.1088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98328D #32983D
analogous
#703298 #98328D #98325A
triadic
#98328D #8D9832 #328D98
tetradic
#98328D #987032 #32983D #325A98
square
#98328D #987032 #32983D #325A98
split-complementary
#98328D #5A9832 #329870
monochromatic
#3C1438 #6A2362 #98328D #C245B4 #D173C7

Accessibility & contrast

On white

6.61
#98328D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#98328D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98328D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98328D#FFFFFF#000000##FFFFFF
##98328D1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5390
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#9E3B5B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #98328d;
/* rgb */ color: rgb(152, 50, 141);
/* oklch */ color: oklch(50.0% 0.172 332.4);
Tailwind
colors: {
  custom: {
    50: '#b972ae',
    500: '#98328d',
    950: '#000000',
  },
}
SCSS
$custom: #98328d;
$custom-light: #b972ae;
$custom-dark: #000000;
JSON
{
  "hex": "#98328d",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 306.471,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4999,
    "c": 0.17208,
    "h": 332.4
  },
  "luminance": 0.1088
}

Semantic roles & 50–950 ramp

primary
#98328D
secondary
#6DB975
accent
#DA5D4E
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98328D

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

Preview Lab → · Contrast checker → · Palette generator →

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