#98348C#98348C

#98348C is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.2% C 0.169 H 332.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#98348C
RGBrgb(152, 52, 140)
HSLhsl(307, 49%, 40%)
HSVhsv(307, 66%, 60%)
CMYKcmyk(0%, 65.8%, 7.9%, 40.4%)
CIE-LABlab(39.62, 52.13, -28.08)
CIE-LCHlch(39.62, 59.21, 331.69°)
OKLaboklab(50.15% 0.15 -0.0768)
OKLCHoklch(50.15% 0.169 332.9)
XYZxyz(18.9106, 11.0263, 25.9382)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98348C #349840
analogous
#723498 #98348C #98345A
triadic
#98348C #8C9834 #348C98
tetradic
#98348C #987234 #349840 #345A98
square
#98348C #987234 #349840 #345A98
split-complementary
#98348C #5A9834 #349872
monochromatic
#3D1538 #6A2462 #98348C #C149B2 #D076C5

Accessibility & contrast

On white

6.55
#98348C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#98348C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98348C
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98348C#FFFFFF#000000##FFFFFF
##98348C1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548F
Deuteranopia (green-blind)
#526389
Tritanopia (blue-blind)
#9F3D5B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #98348c;
/* rgb */ color: rgb(152, 52, 140);
/* oklch */ color: oklch(50.2% 0.169 332.9);
Tailwind
colors: {
  custom: {
    50: '#b973ae',
    500: '#98348c',
    950: '#000000',
  },
}
SCSS
$custom: #98348c;
$custom-light: #b973ae;
$custom-dark: #000000;
JSON
{
  "hex": "#98348c",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 307.2,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.50152,
    "c": 0.16855,
    "h": 332.9
  },
  "luminance": 0.11025
}

Semantic roles & 50–950 ramp

primary
#98348C
secondary
#6FB978
accent
#D9604F
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98348C

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

Preview Lab → · Contrast checker → · Palette generator →

#98348C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva