#98368C#98368C

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

Color values

HEX#98368C
RGBrgb(152, 54, 140)
HSLhsl(307, 48%, 40%)
HSVhsv(307, 64%, 60%)
CMYKcmyk(0%, 64.5%, 7.9%, 40.4%)
CIE-LABlab(39.93, 51.29, -27.60)
CIE-LCHlch(39.93, 58.24, 331.71°)
OKLaboklab(50.37% 0.1476 -0.0755)
OKLCHoklch(50.37% 0.166 332.9)
XYZxyz(19.0017, 11.2086, 25.9685)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98368C #369842
analogous
#733698 #98368C #98365B
triadic
#98368C #8C9836 #368C98
tetradic
#98368C #987336 #369842 #365B98
square
#98368C #987336 #369842 #365B98
split-complementary
#98368C #5B9836 #369873
monochromatic
#3E1639 #6B2662 #98368C #BF4CB1 #CF79C5

Accessibility & contrast

On white

6.48
#98368C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#98368C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98368C
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98368C#FFFFFF#000000##FFFFFF
##98368C1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558F
Deuteranopia (green-blind)
#536389
Tritanopia (blue-blind)
#9F3E5C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98368c;
/* rgb */ color: rgb(152, 54, 140);
/* oklch */ color: oklch(50.4% 0.166 332.9);
Tailwind
colors: {
  custom: {
    50: '#b974ae',
    500: '#98368c',
    950: '#000000',
  },
}
SCSS
$custom: #98368c;
$custom-light: #b974ae;
$custom-dark: #000000;
JSON
{
  "hex": "#98368c",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 307.347,
    "s": 47.573,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50374,
    "c": 0.16575,
    "h": 332.9
  },
  "luminance": 0.11207
}

Semantic roles & 50–950 ramp

primary
#98368C
secondary
#72B87A
accent
#D76151
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98368C

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

Preview Lab → · Contrast checker → · Palette generator →

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