#985DA8#985DA8

#985DA8 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.3% C 0.129 H 318.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#985DA8
RGBrgb(152, 93, 168)
HSLhsl(287, 30%, 51%)
HSVhsv(287, 45%, 66%)
CMYKcmyk(9.5%, 44.6%, 0%, 34.1%)
CIE-LABlab(48.68, 36.95, -30.68)
CIE-LCHlch(48.68, 48.02, 320.30°)
OKLaboklab(57.27% 0.0968 -0.0846)
OKLCHoklch(57.27% 0.129 318.8)
XYZxyz(23.9302, 17.3320, 39.1231)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DA8 #6DA85D
analogous
#725DA8 #985DA8 #A85D92
triadic
#985DA8 #A8985D #5DA898
tetradic
#985DA8 #A8725D #6DA85D #5D92A8
square
#985DA8 #A8725D #6DA85D #5D92A8
split-complementary
#985DA8 #92A85D #5DA872
monochromatic
#51305A #754682 #985DA8 #B185BD #CBADD3

Accessibility & contrast

On white

4.70
#985DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#985DA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985DA8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DA8#FFFFFF#000000##FFFFFF
##985DA81.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5170AB
Deuteranopia (green-blind)
#6176A6
Tritanopia (blue-blind)
#98677A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985da8;
/* rgb */ color: rgb(152, 93, 168);
/* oklch */ color: oklch(57.3% 0.129 318.8);
Tailwind
colors: {
  custom: {
    50: '#b88cc2',
    500: '#985da8',
    950: '#000000',
  },
}
SCSS
$custom: #985da8;
$custom-light: #b88cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#985da8",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 168
  },
  "hsl": {
    "h": 287.2,
    "s": 30.12,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57266,
    "c": 0.12861,
    "h": 318.8
  },
  "luminance": 0.17331
}

Semantic roles & 50–950 ramp

primary
#985DA8
secondary
#A7C1A0
accent
#C66177
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985DA8

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

Preview Lab → · Contrast checker → · Palette generator →

#985DA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva