#98388E#98388E

#98388E is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.7% C 0.165 H 332.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#98388E
RGBrgb(152, 56, 142)
HSLhsl(306, 46%, 41%)
HSVhsv(306, 63%, 60%)
CMYKcmyk(0%, 63.2%, 6.6%, 40.4%)
CIE-LABlab(40.34, 50.76, -28.17)
CIE-LCHlch(40.34, 58.05, 330.97°)
OKLaboklab(50.71% 0.1453 -0.0772)
OKLCHoklch(50.71% 0.165 332)
XYZxyz(19.2455, 11.4582, 26.7839)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98388E #389842
analogous
#723898 #98388E #98385E
triadic
#98388E #8E9838 #388E98
tetradic
#98388E #987238 #389842 #385E98
square
#98388E #987238 #389842 #385E98
split-complementary
#98388E #5E9838 #389872
monochromatic
#3F173A #6B2864 #98388E #BE4FB3 #CF7CC6

Accessibility & contrast

On white

6.38
#98388E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98388E
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98388E#FFFFFF#000000##FFFFFF
##98388E1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345691
Deuteranopia (green-blind)
#54648B
Tritanopia (blue-blind)
#9E415E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #98388e;
/* rgb */ color: rgb(152, 56, 142);
/* oklch */ color: oklch(50.7% 0.165 332.0);
Tailwind
colors: {
  custom: {
    50: '#b975af',
    500: '#98388e',
    950: '#000000',
  },
}
SCSS
$custom: #98388e;
$custom-light: #b975af;
$custom-dark: #000000;
JSON
{
  "hex": "#98388e",
  "rgb": {
    "r": 152,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 306.25,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.1645,
    "h": 332
  },
  "luminance": 0.11457
}

Semantic roles & 50–950 ramp

primary
#98388E
secondary
#74B87B
accent
#D66052
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98388E

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

Preview Lab → · Contrast checker → · Palette generator →

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