#98368D#98368D

#98368D is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.4% C 0.167 H 332.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#98368D
RGBrgb(152, 54, 141)
HSLhsl(307, 48%, 40%)
HSVhsv(307, 64%, 60%)
CMYKcmyk(0%, 64.5%, 7.2%, 40.4%)
CIE-LABlab(39.98, 51.45, -28.13)
CIE-LCHlch(39.98, 58.64, 331.33°)
OKLaboklab(50.43% 0.1477 -0.077)
OKLCHoklch(50.43% 0.167 332.5)
XYZxyz(19.0758, 11.2383, 26.3586)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98368D #369841
analogous
#723698 #98368D #98365C
triadic
#98368D #8D9836 #368D98
tetradic
#98368D #987236 #369841 #365C98
square
#98368D #987236 #369841 #365C98
split-complementary
#98368D #5C9836 #369872
monochromatic
#3E1639 #6B2663 #98368D #BF4CB2 #CF79C6

Accessibility & contrast

On white

6.47
#98368D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#98368D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98368D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98368D#FFFFFF#000000##FFFFFF
##98368D1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325590
Deuteranopia (green-blind)
#53638A
Tritanopia (blue-blind)
#9E3F5C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98368d;
/* rgb */ color: rgb(152, 54, 141);
/* oklch */ color: oklch(50.4% 0.167 332.5);
Tailwind
colors: {
  custom: {
    50: '#b974ae',
    500: '#98368d',
    950: '#000000',
  },
}
SCSS
$custom: #98368d;
$custom-light: #b974ae;
$custom-dark: #000000;
JSON
{
  "hex": "#98368d",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 306.735,
    "s": 47.573,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50426,
    "c": 0.16656,
    "h": 332.5
  },
  "luminance": 0.11237
}

Semantic roles & 50–950 ramp

primary
#98368D
secondary
#72B879
accent
#D76051
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98368D

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

Preview Lab → · Contrast checker → · Palette generator →

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