#985397#985397

#985397 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 54.8% C 0.129 H 327.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#985397
RGBrgb(152, 83, 151)
HSLhsl(301, 29%, 46%)
HSVhsv(301, 45%, 60%)
CMYKcmyk(0%, 45.4%, 0.7%, 40.4%)
CIE-LABlab(45.77, 39.02, -25.14)
CIE-LCHlch(45.77, 46.42, 327.20°)
OKLaboklab(54.84% 0.1086 -0.0687)
OKLCHoklch(54.84% 0.129 327.7)
XYZxyz(21.6277, 15.0974, 31.0470)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985397 #539854
analogous
#765398 #985397 #985374
triadic
#985397 #979853 #539798
tetradic
#985397 #987653 #539854 #537498
square
#985397 #987653 #539854 #537498
split-complementary
#985397 #749853 #539876
monochromatic
#492848 #703D70 #985397 #B375B3 #C99CC8

Accessibility & contrast

On white

5.22
#985397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#985397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985397
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985397#FFFFFF#000000##FFFFFF
##9853971.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6799
Deuteranopia (green-blind)
#617095
Tritanopia (blue-blind)
#9C5A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #985397;
/* rgb */ color: rgb(152, 83, 151);
/* oklch */ color: oklch(54.8% 0.129 327.7);
Tailwind
colors: {
  custom: {
    50: '#b886b6',
    500: '#985397',
    950: '#000000',
  },
}
SCSS
$custom: #985397;
$custom-light: #b886b6;
$custom-dark: #000000;
JSON
{
  "hex": "#985397",
  "rgb": {
    "r": 152,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 300.87,
    "s": 29.362,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54843,
    "c": 0.12853,
    "h": 327.7
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#985397
secondary
#91B691
accent
#C66462
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #985397

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

Preview Lab → · Contrast checker → · Palette generator →

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