#98388C#98388C

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

Color values

HEX#98388C
RGBrgb(152, 56, 140)
HSLhsl(308, 46%, 41%)
HSVhsv(308, 63%, 60%)
CMYKcmyk(0%, 63.2%, 7.9%, 40.4%)
CIE-LABlab(40.24, 50.42, -27.11)
CIE-LCHlch(40.24, 57.24, 331.73°)
OKLaboklab(50.6% 0.145 -0.0741)
OKLCHoklch(50.6% 0.163 332.9)
XYZxyz(19.0967, 11.3986, 26.0002)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98388C #389844
analogous
#743898 #98388C #98385C
triadic
#98388C #8C9838 #388C98
tetradic
#98388C #987438 #389844 #385C98
square
#98388C #987438 #389844 #385C98
split-complementary
#98388C #5C9838 #389874
monochromatic
#3F173A #6B2863 #98388C #BE4FB0 #CF7CC4

Accessibility & contrast

On white

6.40
#98388C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#98388C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98388C
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98388C#FFFFFF#000000##FFFFFF
##98388C1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568F
Deuteranopia (green-blind)
#546489
Tritanopia (blue-blind)
#9E405D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #98388c;
/* rgb */ color: rgb(152, 56, 140);
/* oklch */ color: oklch(50.6% 0.163 332.9);
Tailwind
colors: {
  custom: {
    50: '#b975ae',
    500: '#98388c',
    950: '#000000',
  },
}
SCSS
$custom: #98388c;
$custom-light: #b975ae;
$custom-dark: #000000;
JSON
{
  "hex": "#98388c",
  "rgb": {
    "r": 152,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 307.5,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50603,
    "c": 0.16286,
    "h": 332.9
  },
  "luminance": 0.11397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98388C

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

Preview Lab → · Contrast checker → · Palette generator →

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