#98388B#98388B

#98388B is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.6% C 0.162 H 333.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#98388B
RGBrgb(152, 56, 139)
HSLhsl(308, 46%, 41%)
HSVhsv(308, 63%, 60%)
CMYKcmyk(0%, 63.2%, 8.6%, 40.4%)
CIE-LABlab(40.20, 50.25, -26.57)
CIE-LCHlch(40.20, 56.84, 332.13°)
OKLaboklab(50.55% 0.1449 -0.0726)
OKLCHoklch(50.55% 0.162 333.4)
XYZxyz(19.0233, 11.3693, 25.6136)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98388B #389845
analogous
#753898 #98388B #98385B
triadic
#98388B #8B9838 #388B98
tetradic
#98388B #987538 #389845 #385B98
square
#98388B #987538 #389845 #385B98
split-complementary
#98388B #5B9838 #389875
monochromatic
#3F1739 #6B2862 #98388B #BE4FAF #CF7CC3

Accessibility & contrast

On white

6.41
#98388B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#98388B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98388B
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98388B#FFFFFF#000000##FFFFFF
##98388B1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568E
Deuteranopia (green-blind)
#556488
Tritanopia (blue-blind)
#9F3F5C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #98388b;
/* rgb */ color: rgb(152, 56, 139);
/* oklch */ color: oklch(50.6% 0.162 333.4);
Tailwind
colors: {
  custom: {
    50: '#b975ad',
    500: '#98388b',
    950: '#000000',
  },
}
SCSS
$custom: #98388b;
$custom-light: #b975ad;
$custom-dark: #000000;
JSON
{
  "hex": "#98388b",
  "rgb": {
    "r": 152,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 308.125,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50552,
    "c": 0.16206,
    "h": 333.4
  },
  "luminance": 0.11368
}

Semantic roles & 50–950 ramp

primary
#98388B
secondary
#74B87D
accent
#D66452
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98388B

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

Preview Lab → · Contrast checker → · Palette generator →

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