#98368B#98368B

#98368B is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.3% C 0.165 H 333.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#98368B
RGBrgb(152, 54, 139)
HSLhsl(308, 48%, 40%)
HSVhsv(308, 64%, 60%)
CMYKcmyk(0%, 64.5%, 8.6%, 40.4%)
CIE-LABlab(39.88, 51.12, -27.07)
CIE-LCHlch(39.88, 57.84, 332.10°)
OKLaboklab(50.32% 0.1474 -0.074)
OKLCHoklch(50.32% 0.165 333.4)
XYZxyz(18.9283, 11.1793, 25.5820)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98368B #369843
analogous
#743698 #98368B #98365A
triadic
#98368B #8B9836 #368B98
tetradic
#98368B #987436 #369843 #365A98
square
#98368B #987436 #369843 #365A98
split-complementary
#98368B #5A9836 #369874
monochromatic
#3E1638 #6B2662 #98368B #BF4CB0 #CF79C4

Accessibility & contrast

On white

6.49
#98368B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #98368B
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98368B#FFFFFF#000000##FFFFFF
##98368B1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558E
Deuteranopia (green-blind)
#546388
Tritanopia (blue-blind)
#9F3E5B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98368b;
/* rgb */ color: rgb(152, 54, 139);
/* oklch */ color: oklch(50.3% 0.165 333.4);
Tailwind
colors: {
  custom: {
    50: '#b974ad',
    500: '#98368b',
    950: '#000000',
  },
}
SCSS
$custom: #98368b;
$custom-light: #b974ad;
$custom-dark: #000000;
JSON
{
  "hex": "#98368b",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 307.959,
    "s": 47.573,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50322,
    "c": 0.16495,
    "h": 333.4
  },
  "luminance": 0.11178
}

Semantic roles & 50–950 ramp

primary
#98368B
secondary
#72B87B
accent
#D76251
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98368B

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

Preview Lab → · Contrast checker → · Palette generator →

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