#98358F#98358F

#98358F is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.4% C 0.170 H 331.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#98358F
RGBrgb(152, 53, 143)
HSLhsl(305, 48%, 40%)
HSVhsv(305, 65%, 60%)
CMYKcmyk(0%, 65.1%, 5.9%, 40.4%)
CIE-LABlab(39.93, 52.21, -29.43)
CIE-LCHlch(39.93, 59.94, 330.59°)
OKLaboklab(50.42% 0.1491 -0.0807)
OKLCHoklch(50.42% 0.17 331.6)
XYZxyz(19.1799, 11.2062, 27.1341)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98358F #35983E
analogous
#703598 #98358F #98355D
triadic
#98358F #8F9835 #358F98
tetradic
#98358F #987035 #35983E #355D98
square
#98358F #987035 #35983E #355D98
split-complementary
#98358F #5D9835 #359870
monochromatic
#3D153A #6B2564 #98358F #C04AB5 #D078C8

Accessibility & contrast

On white

6.48
#98358F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#98358F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98358F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98358F#FFFFFF#000000##FFFFFF
##98358F1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305592
Deuteranopia (green-blind)
#52638C
Tritanopia (blue-blind)
#9E3F5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98358f;
/* rgb */ color: rgb(152, 53, 143);
/* oklch */ color: oklch(50.4% 0.170 331.6);
Tailwind
colors: {
  custom: {
    50: '#b974b0',
    500: '#98358f',
    950: '#000000',
  },
}
SCSS
$custom: #98358f;
$custom-light: #b974b0;
$custom-dark: #000000;
JSON
{
  "hex": "#98358f",
  "rgb": {
    "r": 152,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 305.455,
    "s": 48.293,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5042,
    "c": 0.16959,
    "h": 331.6
  },
  "luminance": 0.11205
}

Semantic roles & 50–950 ramp

primary
#98358F
secondary
#70B877
accent
#D85C50
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120910
muted
#817B7F

Preview Lab

Preview with #98358F

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

Preview Lab → · Contrast checker → · Palette generator →

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