#98348A#98348A

#98348A is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.0% C 0.167 H 333.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#98348A
RGBrgb(152, 52, 138)
HSLhsl(308, 49%, 40%)
HSVhsv(308, 66%, 60%)
CMYKcmyk(0%, 65.8%, 9.2%, 40.4%)
CIE-LABlab(39.53, 51.80, -27.01)
CIE-LCHlch(39.53, 58.42, 332.46°)
OKLaboklab(50.05% 0.1498 -0.0738)
OKLCHoklch(50.05% 0.167 333.8)
XYZxyz(18.7644, 10.9679, 25.1685)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98348A #349842
analogous
#743498 #98348A #983458
triadic
#98348A #8A9834 #348A98
tetradic
#98348A #987434 #349842 #345898
square
#98348A #987434 #349842 #345898
split-complementary
#98348A #589834 #349874
monochromatic
#3D1537 #6A2461 #98348A #C149B0 #D076C4

Accessibility & contrast

On white

6.58
#98348A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#98348A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98348A
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98348A#FFFFFF#000000##FFFFFF
##98348A1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548D
Deuteranopia (green-blind)
#536287
Tritanopia (blue-blind)
#9F3C5A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #98348a;
/* rgb */ color: rgb(152, 52, 138);
/* oklch */ color: oklch(50.0% 0.167 333.8);
Tailwind
colors: {
  custom: {
    50: '#b973ac',
    500: '#98348a',
    950: '#000000',
  },
}
SCSS
$custom: #98348a;
$custom-light: #b973ac;
$custom-dark: #000000;
JSON
{
  "hex": "#98348a",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 308.4,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.50048,
    "c": 0.16697,
    "h": 333.8
  },
  "luminance": 0.10966
}

Semantic roles & 50–950 ramp

primary
#98348A
secondary
#6FB979
accent
#D9624F
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98348A

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

Preview Lab → · Contrast checker → · Palette generator →

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