#98368A#98368A

#98368A is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.3% C 0.164 H 333.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#98368A
RGBrgb(152, 54, 138)
HSLhsl(309, 48%, 40%)
HSVhsv(309, 64%, 60%)
CMYKcmyk(0%, 64.5%, 9.2%, 40.4%)
CIE-LABlab(39.83, 50.95, -26.53)
CIE-LCHlch(39.83, 57.45, 332.50°)
OKLaboklab(50.27% 0.1473 -0.0724)
OKLCHoklch(50.27% 0.164 333.8)
XYZxyz(18.8556, 11.1502, 25.1989)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98368A #369844
analogous
#753698 #98368A #983659
triadic
#98368A #8A9836 #368A98
tetradic
#98368A #987536 #369844 #365998
square
#98368A #987536 #369844 #365998
split-complementary
#98368A #599836 #369875
monochromatic
#3E1638 #6B2661 #98368A #BF4CAF #CF79C3

Accessibility & contrast

On white

6.50
#98368A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#98368A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98368A
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98368A#FFFFFF#000000##FFFFFF
##98368A1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558D
Deuteranopia (green-blind)
#546387
Tritanopia (blue-blind)
#9F3D5B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98368a;
/* rgb */ color: rgb(152, 54, 138);
/* oklch */ color: oklch(50.3% 0.164 333.8);
Tailwind
colors: {
  custom: {
    50: '#b974ac',
    500: '#98368a',
    950: '#000000',
  },
}
SCSS
$custom: #98368a;
$custom-light: #b974ac;
$custom-dark: #000000;
JSON
{
  "hex": "#98368a",
  "rgb": {
    "r": 152,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 308.571,
    "s": 47.573,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50271,
    "c": 0.16415,
    "h": 333.8
  },
  "luminance": 0.11149
}

Semantic roles & 50–950 ramp

primary
#98368A
secondary
#72B87C
accent
#D76451
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98368A

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

Preview Lab → · Contrast checker → · Palette generator →

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