#98348D#98348D

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

Color values

HEX#98348D
RGBrgb(152, 52, 141)
HSLhsl(307, 49%, 40%)
HSVhsv(307, 66%, 60%)
CMYKcmyk(0%, 65.8%, 7.2%, 40.4%)
CIE-LABlab(39.67, 52.30, -28.61)
CIE-LCHlch(39.67, 59.61, 331.32°)
OKLaboklab(50.2% 0.1501 -0.0784)
OKLCHoklch(50.2% 0.169 332.4)
XYZxyz(18.9846, 11.0559, 26.3282)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98348D #34983F
analogous
#713498 #98348D #98345B
triadic
#98348D #8D9834 #348D98
tetradic
#98348D #987134 #34983F #345B98
square
#98348D #987134 #34983F #345B98
split-complementary
#98348D #5B9834 #349871
monochromatic
#3D1538 #6A2463 #98348D #C149B3 #D076C6

Accessibility & contrast

On white

6.54
#98348D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98348D
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98348D#FFFFFF#000000##FFFFFF
##98348D1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305490
Deuteranopia (green-blind)
#52638A
Tritanopia (blue-blind)
#9E3D5C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #98348d;
/* rgb */ color: rgb(152, 52, 141);
/* oklch */ color: oklch(50.2% 0.169 332.4);
Tailwind
colors: {
  custom: {
    50: '#b973ae',
    500: '#98348d',
    950: '#000000',
  },
}
SCSS
$custom: #98348d;
$custom-light: #b973ae;
$custom-dark: #000000;
JSON
{
  "hex": "#98348d",
  "rgb": {
    "r": 152,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 306.6,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.50204,
    "c": 0.16935,
    "h": 332.4
  },
  "luminance": 0.11054
}

Semantic roles & 50–950 ramp

primary
#98348D
secondary
#6FB977
accent
#D95E4F
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98348D

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

Preview Lab → · Contrast checker → · Palette generator →

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