#98328B#98328B

#98328B is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.9% C 0.171 H 333.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#98328B
RGBrgb(152, 50, 139)
HSLhsl(308, 50%, 40%)
HSVhsv(308, 67%, 60%)
CMYKcmyk(0%, 67.1%, 8.6%, 40.4%)
CIE-LABlab(39.28, 52.79, -28.01)
CIE-LCHlch(39.28, 59.76, 332.05°)
OKLaboklab(49.89% 0.1523 -0.0766)
OKLCHoklch(49.89% 0.171 333.3)
XYZxyz(18.7498, 10.8222, 25.5225)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98328B #32983F
analogous
#723298 #98328B #983258
triadic
#98328B #8B9832 #328B98
tetradic
#98328B #987232 #32983F #325898
square
#98328B #987232 #32983F #325898
split-complementary
#98328B #589832 #329872
monochromatic
#3C1437 #6A2361 #98328B #C245B2 #D173C5

Accessibility & contrast

On white

6.64
#98328B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#98328B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98328B
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98328B#FFFFFF#000000##FFFFFF
##98328B1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538E
Deuteranopia (green-blind)
#526288
Tritanopia (blue-blind)
#9F3B5A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #98328b;
/* rgb */ color: rgb(152, 50, 139);
/* oklch */ color: oklch(49.9% 0.171 333.3);
Tailwind
colors: {
  custom: {
    50: '#b972ad',
    500: '#98328b',
    950: '#000000',
  },
}
SCSS
$custom: #98328b;
$custom-light: #b972ad;
$custom-dark: #000000;
JSON
{
  "hex": "#98328b",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 307.647,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49885,
    "c": 0.1705,
    "h": 333.3
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#98328B
secondary
#6DB976
accent
#DA604E
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #98328B

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

Preview Lab → · Contrast checker → · Palette generator →

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