#98418D#98418D

#98418D is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.8% C 0.150 H 332.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#98418D
RGBrgb(152, 65, 141)
HSLhsl(308, 40%, 43%)
HSVhsv(308, 57%, 60%)
CMYKcmyk(0%, 57.2%, 7.2%, 40.4%)
CIE-LABlab(41.81, 46.43, -25.27)
CIE-LCHlch(41.81, 52.86, 331.45°)
OKLaboklab(51.77% 0.1331 -0.0689)
OKLCHoklch(51.77% 0.15 332.6)
XYZxyz(19.6469, 12.3805, 26.5490)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98418D #41984C
analogous
#774198 #98418D #984162
triadic
#98418D #8D9841 #418D98
tetradic
#98418D #987741 #41984C #416298
square
#98418D #987741 #41984C #416298
split-complementary
#98418D #629841 #419877
monochromatic
#421C3D #6D2F65 #98418D #BA5DAE #CC88C3

Accessibility & contrast

On white

6.04
#98418D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#98418D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98418D
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98418D#FFFFFF#000000##FFFFFF
##98418D1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B8F
Deuteranopia (green-blind)
#59678B
Tritanopia (blue-blind)
#9E4761
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #98418d;
/* rgb */ color: rgb(152, 65, 141);
/* oklch */ color: oklch(51.8% 0.150 332.6);
Tailwind
colors: {
  custom: {
    50: '#b97aae',
    500: '#98418d',
    950: '#000000',
  },
}
SCSS
$custom: #98418d;
$custom-light: #b97aae;
$custom-dark: #000000;
JSON
{
  "hex": "#98418d",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 307.586,
    "s": 40.092,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51769,
    "c": 0.14991,
    "h": 332.6
  },
  "luminance": 0.12379
}

Semantic roles & 50–950 ramp

primary
#98418D
secondary
#7EB785
accent
#D06758
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #98418D

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

Preview Lab → · Contrast checker → · Palette generator →

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