#98428A#98428A

#98428A is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.8% C 0.146 H 334.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#98428A
RGBrgb(152, 66, 138)
HSLhsl(310, 39%, 43%)
HSVhsv(310, 57%, 60%)
CMYKcmyk(0%, 56.6%, 9.2%, 40.4%)
CIE-LABlab(41.86, 45.43, -23.38)
CIE-LCHlch(41.86, 51.09, 332.77°)
OKLaboklab(51.76% 0.1312 -0.0635)
OKLCHoklch(51.76% 0.146 334.2)
XYZxyz(19.4846, 12.4082, 25.4086)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98428A #429850
analogous
#7B4298 #98428A #98425F
triadic
#98428A #8A9842 #428A98
tetradic
#98428A #987B42 #429850 #425F98
square
#98428A #987B42 #429850 #425F98
split-complementary
#98428A #5F9842 #42987B
monochromatic
#431D3D #6D2F63 #98428A #B95EAA #CC89C1

Accessibility & contrast

On white

6.03
#98428A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#98428A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98428A
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98428A#FFFFFF#000000##FFFFFF
##98428A1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8C
Deuteranopia (green-blind)
#5B6788
Tritanopia (blue-blind)
#9F4760
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #98428a;
/* rgb */ color: rgb(152, 66, 138);
/* oklch */ color: oklch(51.8% 0.146 334.2);
Tailwind
colors: {
  custom: {
    50: '#b97bac',
    500: '#98428a',
    950: '#000000',
  },
}
SCSS
$custom: #98428a;
$custom-light: #b97bac;
$custom-dark: #000000;
JSON
{
  "hex": "#98428a",
  "rgb": {
    "r": 152,
    "g": 66,
    "b": 138
  },
  "hsl": {
    "h": 309.767,
    "s": 39.45,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51756,
    "c": 0.14577,
    "h": 334.2
  },
  "luminance": 0.12407
}

Semantic roles & 50–950 ramp

primary
#98428A
secondary
#7FB788
accent
#CF6C58
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #98428A

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

Preview Lab → · Contrast checker → · Palette generator →

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