#985498#985498

#985498 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.0% C 0.128 H 327.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#985498
RGBrgb(152, 84, 152)
HSLhsl(300, 29%, 46%)
HSVhsv(300, 45%, 60%)
CMYKcmyk(0%, 44.7%, 0%, 40.4%)
CIE-LABlab(46.02, 38.67, -25.35)
CIE-LCHlch(46.02, 46.23, 326.75°)
OKLaboklab(55.05% 0.1073 -0.0693)
OKLCHoklch(55.05% 0.128 327.1)
XYZxyz(21.7863, 15.2841, 31.5022)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985498 #549854
analogous
#765498 #985498 #985476
triadic
#985498 #989854 #549898
tetradic
#985498 #987654 #549854 #547698
square
#985498 #987654 #549854 #547698
split-complementary
#985498 #769854 #549876
monochromatic
#492849 #713E71 #985498 #B376B3 #C99DC9

Accessibility & contrast

On white

5.18
#985498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#985498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985498
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985498#FFFFFF#000000##FFFFFF
##9854981.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E679A
Deuteranopia (green-blind)
#617096
Tritanopia (blue-blind)
#9C5B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #985498;
/* rgb */ color: rgb(152, 84, 152);
/* oklch */ color: oklch(55.0% 0.128 327.1);
Tailwind
colors: {
  custom: {
    50: '#b886b6',
    500: '#985498',
    950: '#000000',
  },
}
SCSS
$custom: #985498;
$custom-light: #b886b6;
$custom-dark: #000000;
JSON
{
  "hex": "#985498",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 300,
    "s": 28.814,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55047,
    "c": 0.12774,
    "h": 327.1
  },
  "luminance": 0.15283
}

Semantic roles & 50–950 ramp

primary
#985498
secondary
#92B692
accent
#C56363
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #985498

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

Preview Lab → · Contrast checker → · Palette generator →

#985498 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva