#985196#985196

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

Color values

HEX#985196
RGBrgb(152, 81, 150)
HSLhsl(302, 30%, 46%)
HSVhsv(302, 47%, 60%)
CMYKcmyk(0%, 46.7%, 1.3%, 40.4%)
CIE-LABlab(45.31, 39.90, -25.26)
CIE-LCHlch(45.31, 47.22, 327.66°)
OKLaboklab(54.49% 0.1114 -0.069)
OKLCHoklch(54.49% 0.131 328.2)
XYZxyz(21.3960, 14.7634, 30.5709)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985196 #519853
analogous
#765198 #985196 #985172
triadic
#985196 #969851 #519698
tetradic
#985196 #987651 #519853 #517298
square
#985196 #987651 #519853 #517298
split-complementary
#985196 #729851 #519876
monochromatic
#482647 #703C6F #985196 #B472B2 #C99AC8

Accessibility & contrast

On white

5.31
#985196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#985196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985196
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985196#FFFFFF#000000##FFFFFF
##9851961.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6598
Deuteranopia (green-blind)
#606F94
Tritanopia (blue-blind)
#9C586C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #985196;
/* rgb */ color: rgb(152, 81, 150);
/* oklch */ color: oklch(54.5% 0.131 328.2);
Tailwind
colors: {
  custom: {
    50: '#b884b5',
    500: '#985196',
    950: '#000000',
  },
}
SCSS
$custom: #985196;
$custom-light: #b884b5;
$custom-dark: #000000;
JSON
{
  "hex": "#985196",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 301.69,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54487,
    "c": 0.13109,
    "h": 328.2
  },
  "luminance": 0.14762
}

Semantic roles & 50–950 ramp

primary
#985196
secondary
#8FB690
accent
#C76461
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #985196

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

Preview Lab → · Contrast checker → · Palette generator →

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