#985197#985197

#985197 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.5% C 0.132 H 327.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#985197
RGBrgb(152, 81, 151)
HSLhsl(301, 30%, 46%)
HSVhsv(301, 47%, 60%)
CMYKcmyk(0%, 46.7%, 0.7%, 40.4%)
CIE-LABlab(45.35, 40.09, -25.79)
CIE-LCHlch(45.35, 47.67, 327.25°)
OKLaboklab(54.54% 0.1116 -0.0705)
OKLCHoklch(54.54% 0.132 327.7)
XYZxyz(21.4769, 14.7957, 30.9968)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985197 #519852
analogous
#755198 #985197 #985173
triadic
#985197 #979851 #519798
tetradic
#985197 #987551 #519852 #517398
square
#985197 #987551 #519852 #517398
split-complementary
#985197 #739851 #519875
monochromatic
#482648 #703C6F #985197 #B472B3 #C99AC9

Accessibility & contrast

On white

5.30
#985197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#985197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985197
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985197#FFFFFF#000000##FFFFFF
##9851971.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6599
Deuteranopia (green-blind)
#5F6F95
Tritanopia (blue-blind)
#9C586D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #985197;
/* rgb */ color: rgb(152, 81, 151);
/* oklch */ color: oklch(54.5% 0.132 327.7);
Tailwind
colors: {
  custom: {
    50: '#b884b6',
    500: '#985197',
    950: '#000000',
  },
}
SCSS
$custom: #985197;
$custom-light: #b884b6;
$custom-dark: #000000;
JSON
{
  "hex": "#985197",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 300.845,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.13206,
    "h": 327.7
  },
  "luminance": 0.14795
}

Semantic roles & 50–950 ramp

primary
#985197
secondary
#8FB68F
accent
#C76361
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #985197

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

Preview Lab → · Contrast checker → · Palette generator →

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