#985FA2#985FA2

#985FA2 is a mid, moderate purple. Relative luminance 0.175; OKLCH L 57.3% C 0.118 H 321.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#985FA2
RGBrgb(152, 95, 162)
HSLhsl(291, 26%, 50%)
HSVhsv(291, 41%, 64%)
CMYKcmyk(6.2%, 41.4%, 0%, 36.5%)
CIE-LABlab(48.85, 34.59, -26.88)
CIE-LCHlch(48.85, 43.81, 322.14°)
OKLaboklab(57.3% 0.0926 -0.0738)
OKLCHoklch(57.3% 0.118 321.4)
XYZxyz(23.5619, 17.4693, 36.3062)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FA2 #69A25F
analogous
#765FA2 #985FA2 #A25F8A
triadic
#985FA2 #A2985F #5FA298
tetradic
#985FA2 #A2765F #69A25F #5F8AA2
square
#985FA2 #A2765F #69A25F #5F8AA2
split-complementary
#985FA2 #8AA25F #5FA276
monochromatic
#503155 #74487C #985FA2 #B186B8 #CAACCF

Accessibility & contrast

On white

4.67
#985FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #985FA2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FA2#FFFFFF#000000##FFFFFF
##985FA21.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5770A4
Deuteranopia (green-blind)
#6576A0
Tritanopia (blue-blind)
#9A6779
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985fa2;
/* rgb */ color: rgb(152, 95, 162);
/* oklch */ color: oklch(57.3% 0.118 321.4);
Tailwind
colors: {
  custom: {
    50: '#b78ebd',
    500: '#985fa2',
    950: '#000000',
  },
}
SCSS
$custom: #985fa2;
$custom-light: #b78ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#985fa2",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 291.045,
    "s": 26.482,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57305,
    "c": 0.1184,
    "h": 321.4
  },
  "luminance": 0.17468
}

Semantic roles & 50–950 ramp

primary
#985FA2
secondary
#A4BD9F
accent
#C36573
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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