#98358A#98358A

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

Color values

HEX#98358A
RGBrgb(152, 53, 138)
HSLhsl(308, 48%, 40%)
HSVhsv(308, 65%, 60%)
CMYKcmyk(0%, 65.1%, 9.2%, 40.4%)
CIE-LABlab(39.68, 51.38, -26.77)
CIE-LCHlch(39.68, 57.94, 332.48°)
OKLaboklab(50.16% 0.1485 -0.0731)
OKLCHoklch(50.16% 0.166 333.8)
XYZxyz(18.8095, 11.0581, 25.1836)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98358A #359843
analogous
#753598 #98358A #983558
triadic
#98358A #8A9835 #358A98
tetradic
#98358A #987535 #359843 #355898
square
#98358A #987535 #359843 #355898
split-complementary
#98358A #589835 #359875
monochromatic
#3D1538 #6B2561 #98358A #C04AAF #D078C3

Accessibility & contrast

On white

6.54
#98358A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#98358A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98358A
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98358A#FFFFFF#000000##FFFFFF
##98358A1.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)
#33548D
Deuteranopia (green-blind)
#546387
Tritanopia (blue-blind)
#9F3D5A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #98358a;
/* rgb */ color: rgb(152, 53, 138);
/* oklch */ color: oklch(50.2% 0.166 333.8);
Tailwind
colors: {
  custom: {
    50: '#b974ac',
    500: '#98358a',
    950: '#000000',
  },
}
SCSS
$custom: #98358a;
$custom-light: #b974ac;
$custom-dark: #000000;
JSON
{
  "hex": "#98358a",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 138
  },
  "hsl": {
    "h": 308.485,
    "s": 48.293,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50159,
    "c": 0.16557,
    "h": 333.8
  },
  "luminance": 0.11057
}

Semantic roles & 50–950 ramp

primary
#98358A
secondary
#70B87B
accent
#D86350
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98358A

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

Preview Lab → · Contrast checker → · Palette generator →

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