#98358B#98358B

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

Color values

HEX#98358B
RGBrgb(152, 53, 139)
HSLhsl(308, 48%, 40%)
HSVhsv(308, 65%, 60%)
CMYKcmyk(0%, 65.1%, 8.6%, 40.4%)
CIE-LABlab(39.73, 51.55, -27.31)
CIE-LCHlch(39.73, 58.33, 332.09°)
OKLaboklab(50.21% 0.1487 -0.0746)
OKLCHoklch(50.21% 0.166 333.3)
XYZxyz(18.8823, 11.0872, 25.5666)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98358B #359842
analogous
#743598 #98358B #983559
triadic
#98358B #8B9835 #358B98
tetradic
#98358B #987435 #359842 #355998
square
#98358B #987435 #359842 #355998
split-complementary
#98358B #599835 #359874
monochromatic
#3D1538 #6B2562 #98358B #C04AB1 #D078C4

Accessibility & contrast

On white

6.53
#98358B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#98358B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98358B
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98358B#FFFFFF#000000##FFFFFF
##98358B1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548E
Deuteranopia (green-blind)
#536388
Tritanopia (blue-blind)
#9F3D5B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98358b;
/* rgb */ color: rgb(152, 53, 139);
/* oklch */ color: oklch(50.2% 0.166 333.3);
Tailwind
colors: {
  custom: {
    50: '#b974ad',
    500: '#98358b',
    950: '#000000',
  },
}
SCSS
$custom: #98358b;
$custom-light: #b974ad;
$custom-dark: #000000;
JSON
{
  "hex": "#98358b",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 307.879,
    "s": 48.293,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5021,
    "c": 0.16636,
    "h": 333.3
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

primary
#98358B
secondary
#70B87A
accent
#D86250
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98358B

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

Preview Lab → · Contrast checker → · Palette generator →

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