#98418F#98418F

#98418F is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.9% C 0.152 H 331.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#98418F
RGBrgb(152, 65, 143)
HSLhsl(306, 40%, 43%)
HSVhsv(306, 57%, 60%)
CMYKcmyk(0%, 57.2%, 5.9%, 40.4%)
CIE-LABlab(41.91, 46.78, -26.33)
CIE-LCHlch(41.91, 53.69, 330.62°)
OKLaboklab(51.87% 0.1335 -0.072)
OKLCHoklch(51.87% 0.152 331.7)
XYZxyz(19.7970, 12.4405, 27.3398)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98418F #41984A
analogous
#764198 #98418F #984163
triadic
#98418F #8F9841 #418F98
tetradic
#98418F #987641 #41984A #416398
square
#98418F #987641 #41984A #416398
split-complementary
#98418F #639841 #419876
monochromatic
#421C3E #6D2F67 #98418F #BA5DB0 #CC88C5

Accessibility & contrast

On white

6.02
#98418F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#98418F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98418F
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98418F#FFFFFF#000000##FFFFFF
##98418F1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5B91
Deuteranopia (green-blind)
#58678D
Tritanopia (blue-blind)
#9E4862
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #98418f;
/* rgb */ color: rgb(152, 65, 143);
/* oklch */ color: oklch(51.9% 0.152 331.7);
Tailwind
colors: {
  custom: {
    50: '#b97ab0',
    500: '#98418f',
    950: '#000000',
  },
}
SCSS
$custom: #98418f;
$custom-light: #b97ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#98418f",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 306.207,
    "s": 40.092,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.15162,
    "h": 331.7
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#98418F
secondary
#7EB784
accent
#D06458
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #98418F

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

Preview Lab → · Contrast checker → · Palette generator →

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