#985DA7#985DA7

#985DA7 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.2% C 0.127 H 319.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#985DA7
RGBrgb(152, 93, 167)
HSLhsl(288, 30%, 51%)
HSVhsv(288, 44%, 65%)
CMYKcmyk(9%, 44.3%, 0%, 34.5%)
CIE-LABlab(48.63, 36.74, -30.16)
CIE-LCHlch(48.63, 47.53, 320.62°)
OKLaboklab(57.22% 0.0966 -0.0832)
OKLCHoklch(57.22% 0.127 319.3)
XYZxyz(23.8374, 17.2949, 38.6343)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DA7 #6CA75D
analogous
#735DA7 #985DA7 #A75D91
triadic
#985DA7 #A7985D #5DA798
tetradic
#985DA7 #A7735D #6CA75D #5D91A7
square
#985DA7 #A7735D #6CA75D #5D91A7
split-complementary
#985DA7 #91A75D #5DA773
monochromatic
#513059 #754681 #985DA7 #B185BD #CAACD2

Accessibility & contrast

On white

4.71
#985DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#985DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985DA7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DA7#FFFFFF#000000##FFFFFF
##985DA71.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526FAA
Deuteranopia (green-blind)
#6276A5
Tritanopia (blue-blind)
#99677A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #985da7;
/* rgb */ color: rgb(152, 93, 167);
/* oklch */ color: oklch(57.2% 0.127 319.3);
Tailwind
colors: {
  custom: {
    50: '#b88cc1',
    500: '#985da7',
    950: '#000000',
  },
}
SCSS
$custom: #985da7;
$custom-light: #b88cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#985da7",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 167
  },
  "hsl": {
    "h": 287.838,
    "s": 29.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57216,
    "c": 0.12749,
    "h": 319.3
  },
  "luminance": 0.17294
}

Semantic roles & 50–950 ramp

primary
#985DA7
secondary
#A6C0A0
accent
#C66276
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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