#98348B#98348B

#98348B is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.1% C 0.168 H 333.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#98348B
RGBrgb(152, 52, 139)
HSLhsl(308, 49%, 40%)
HSVhsv(308, 66%, 60%)
CMYKcmyk(0%, 65.8%, 8.6%, 40.4%)
CIE-LABlab(39.58, 51.97, -27.54)
CIE-LCHlch(39.58, 58.82, 332.08°)
OKLaboklab(50.1% 0.1499 -0.0753)
OKLCHoklch(50.1% 0.168 333.3)
XYZxyz(18.8372, 10.9969, 25.5516)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98348B #349841
analogous
#733498 #98348B #983459
triadic
#98348B #8B9834 #348B98
tetradic
#98348B #987334 #349841 #345998
square
#98348B #987334 #349841 #345998
split-complementary
#98348B #599834 #349873
monochromatic
#3D1538 #6A2461 #98348B #C149B1 #D076C5

Accessibility & contrast

On white

6.56
#98348B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#98348B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98348B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98348B#FFFFFF#000000##FFFFFF
##98348B1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548E
Deuteranopia (green-blind)
#536288
Tritanopia (blue-blind)
#9F3C5B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #98348b;
/* rgb */ color: rgb(152, 52, 139);
/* oklch */ color: oklch(50.1% 0.168 333.3);
Tailwind
colors: {
  custom: {
    50: '#b973ad',
    500: '#98348b',
    950: '#000000',
  },
}
SCSS
$custom: #98348b;
$custom-light: #b973ad;
$custom-dark: #000000;
JSON
{
  "hex": "#98348b",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 307.8,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.501,
    "c": 0.16776,
    "h": 333.3
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98348B

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

Preview Lab → · Contrast checker → · Palette generator →

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