#98419C#98419C

#98419C is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.5% C 0.163 H 325.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#98419C
RGBrgb(152, 65, 156)
HSLhsl(297, 41%, 43%)
HSVhsv(297, 58%, 61%)
CMYKcmyk(2.6%, 58.3%, 0%, 38.8%)
CIE-LABlab(42.55, 49.14, -33.17)
CIE-LCHlch(42.55, 59.28, 325.98°)
OKLaboklab(52.54% 0.1351 -0.0916)
OKLCHoklch(52.54% 0.163 325.9)
XYZxyz(20.8395, 12.8575, 32.8301)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98419C #459C41
analogous
#6A419C #98419C #9C4172
triadic
#98419C #9C9841 #419C98
tetradic
#98419C #9C6A41 #459C41 #41729C
square
#98419C #9C6A41 #459C41 #41729C
split-complementary
#98419C #729C41 #419C6A
monochromatic
#441D46 #6E2F71 #98419C #B85EBC #CB89CE

Accessibility & contrast

On white

5.88
#98419C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#98419C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98419C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98419C#FFFFFF#000000##FFFFFF
##98419C1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9F
Deuteranopia (green-blind)
#526899
Tritanopia (blue-blind)
#9C4D68
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #98419c;
/* rgb */ color: rgb(152, 65, 156);
/* oklch */ color: oklch(52.5% 0.163 325.9);
Tailwind
colors: {
  custom: {
    50: '#b97bb9',
    500: '#98419c',
    950: '#000000',
  },
}
SCSS
$custom: #98419c;
$custom-light: #b97bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#98419c",
  "rgb": {
    "r": 152,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 297.363,
    "s": 41.176,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52545,
    "c": 0.16322,
    "h": 325.9
  },
  "luminance": 0.12856
}

Semantic roles & 50–950 ramp

primary
#98419C
secondary
#82B980
accent
#D1575C
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #98419C

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

Preview Lab → · Contrast checker → · Palette generator →

#98419C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva