#98368F#98368F

#98368F is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.5% C 0.168 H 331.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#98368F
RGBrgb(152, 54, 143)
HSLhsl(306, 48%, 40%)
HSVhsv(306, 64%, 60%)
CMYKcmyk(0%, 64.5%, 5.9%, 40.4%)
CIE-LABlab(40.08, 51.79, -29.20)
CIE-LCHlch(40.08, 59.45, 330.59°)
OKLaboklab(50.53% 0.1479 -0.0801)
OKLCHoklch(50.53% 0.168 331.6)
XYZxyz(19.2260, 11.2983, 27.1495)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98368F #36983F
analogous
#703698 #98368F #98365E
triadic
#98368F #8F9836 #368F98
tetradic
#98368F #987036 #36983F #365E98
square
#98368F #987036 #36983F #365E98
split-complementary
#98368F #5E9836 #369870
monochromatic
#3E163A #6B2665 #98368F #BF4CB5 #CF79C7

Accessibility & contrast

On white

6.44
#98368F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#98368F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98368F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98368F#FFFFFF#000000##FFFFFF
##98368F1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315692
Deuteranopia (green-blind)
#52638C
Tritanopia (blue-blind)
#9E3F5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98368f;
/* rgb */ color: rgb(152, 54, 143);
/* oklch */ color: oklch(50.5% 0.168 331.6);
Tailwind
colors: {
  custom: {
    50: '#b974b0',
    500: '#98368f',
    950: '#000000',
  },
}
SCSS
$custom: #98368f;
$custom-light: #b974b0;
$custom-dark: #000000;
JSON
{
  "hex": "#98368f",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 305.51,
    "s": 47.573,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50531,
    "c": 0.16818,
    "h": 331.6
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#98368F
secondary
#72B878
accent
#D75D51
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120910
muted
#817B7F

Preview Lab

Preview with #98368F

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

Preview Lab → · Contrast checker → · Palette generator →

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