#98388F#98388F

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

Color values

HEX#98388F
RGBrgb(152, 56, 143)
HSLhsl(306, 46%, 41%)
HSVhsv(306, 63%, 60%)
CMYKcmyk(0%, 63.2%, 5.9%, 40.4%)
CIE-LABlab(40.39, 50.93, -28.70)
CIE-LCHlch(40.39, 58.46, 330.59°)
OKLaboklab(50.76% 0.1454 -0.0787)
OKLCHoklch(50.76% 0.165 331.6)
XYZxyz(19.3210, 11.4883, 27.1811)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98388F #389841
analogous
#713898 #98388F #98385F
triadic
#98388F #8F9838 #388F98
tetradic
#98388F #987138 #389841 #385F98
square
#98388F #987138 #389841 #385F98
split-complementary
#98388F #5F9838 #389871
monochromatic
#3F173B #6B2865 #98388F #BE4FB4 #CF7CC7

Accessibility & contrast

On white

6.37
#98388F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#98388F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98388F
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98388F#FFFFFF#000000##FFFFFF
##98388F1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335792
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#9E415E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #98388f;
/* rgb */ color: rgb(152, 56, 143);
/* oklch */ color: oklch(50.8% 0.165 331.6);
Tailwind
colors: {
  custom: {
    50: '#b975b0',
    500: '#98388f',
    950: '#000000',
  },
}
SCSS
$custom: #98388f;
$custom-light: #b975b0;
$custom-dark: #000000;
JSON
{
  "hex": "#98388f",
  "rgb": {
    "r": 152,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 305.625,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50758,
    "c": 0.16532,
    "h": 331.6
  },
  "luminance": 0.11487
}

Semantic roles & 50–950 ramp

primary
#98388F
secondary
#74B87A
accent
#D65E52
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120910
muted
#817B7F

Preview Lab

Preview with #98388F

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

Preview Lab → · Contrast checker → · Palette generator →

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