#98388D#98388D

#98388D is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.7% C 0.164 H 332.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#98388D
RGBrgb(152, 56, 141)
HSLhsl(307, 46%, 41%)
HSVhsv(307, 63%, 60%)
CMYKcmyk(0%, 63.2%, 7.2%, 40.4%)
CIE-LABlab(40.29, 50.59, -27.64)
CIE-LCHlch(40.29, 57.65, 331.35°)
OKLaboklab(50.65% 0.1452 -0.0756)
OKLCHoklch(50.65% 0.164 332.5)
XYZxyz(19.1708, 11.4283, 26.3903)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98388D #389843
analogous
#733898 #98388D #98385D
triadic
#98388D #8D9838 #388D98
tetradic
#98388D #987338 #389843 #385D98
square
#98388D #987338 #389843 #385D98
split-complementary
#98388D #5D9838 #389873
monochromatic
#3F173A #6B2864 #98388D #BE4FB1 #CF7CC5

Accessibility & contrast

On white

6.39
#98388D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#98388D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98388D
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98388D#FFFFFF#000000##FFFFFF
##98388D1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345690
Deuteranopia (green-blind)
#54648A
Tritanopia (blue-blind)
#9E405D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #98388d;
/* rgb */ color: rgb(152, 56, 141);
/* oklch */ color: oklch(50.7% 0.164 332.5);
Tailwind
colors: {
  custom: {
    50: '#b975ae',
    500: '#98388d',
    950: '#000000',
  },
}
SCSS
$custom: #98388d;
$custom-light: #b975ae;
$custom-dark: #000000;
JSON
{
  "hex": "#98388d",
  "rgb": {
    "r": 152,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 306.875,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50654,
    "c": 0.16368,
    "h": 332.5
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

primary
#98388D
secondary
#74B87C
accent
#D66152
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98388D

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

Preview Lab → · Contrast checker → · Palette generator →

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