#985FA1#985FA1

#985FA1 is a mid, moderate purple. Relative luminance 0.174; OKLCH L 57.3% C 0.117 H 321.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#985FA1
RGBrgb(152, 95, 161)
HSLhsl(292, 26%, 50%)
HSVhsv(292, 41%, 63%)
CMYKcmyk(5.6%, 41%, 0%, 36.9%)
CIE-LABlab(48.80, 34.38, -26.36)
CIE-LCHlch(48.80, 43.33, 322.52°)
OKLaboklab(57.26% 0.0924 -0.0723)
OKLCHoklch(57.26% 0.117 321.9)
XYZxyz(23.4734, 17.4339, 35.8399)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FA1 #68A15F
analogous
#775FA1 #985FA1 #A15F89
triadic
#985FA1 #A1985F #5FA198
tetradic
#985FA1 #A1775F #68A15F #5F89A1
square
#985FA1 #A1775F #68A15F #5F89A1
split-complementary
#985FA1 #89A15F #5FA177
monochromatic
#4F3154 #74487B #985FA1 #B186B8 #CAACCE

Accessibility & contrast

On white

4.68
#985FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#985FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985FA1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FA1#FFFFFF#000000##FFFFFF
##985FA11.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5770A3
Deuteranopia (green-blind)
#66769F
Tritanopia (blue-blind)
#9A6778
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985fa1;
/* rgb */ color: rgb(152, 95, 161);
/* oklch */ color: oklch(57.3% 0.117 321.9);
Tailwind
colors: {
  custom: {
    50: '#b78ebd',
    500: '#985fa1',
    950: '#000000',
  },
}
SCSS
$custom: #985fa1;
$custom-light: #b78ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#985fa1",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 291.818,
    "s": 25.984,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57257,
    "c": 0.11731,
    "h": 321.9
  },
  "luminance": 0.17433
}

Semantic roles & 50–950 ramp

primary
#985FA1
secondary
#A3BD9F
accent
#C26572
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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