#985BA2#985BA2

#985BA2 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 56.6% C 0.126 H 321.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#985BA2
RGBrgb(152, 91, 162)
HSLhsl(292, 28%, 50%)
HSVhsv(292, 44%, 64%)
CMYKcmyk(6.2%, 43.8%, 0%, 36.5%)
CIE-LABlab(47.97, 36.81, -28.25)
CIE-LCHlch(47.97, 46.41, 322.50°)
OKLaboklab(56.65% 0.0987 -0.0777)
OKLCHoklch(56.65% 0.126 321.8)
XYZxyz(23.2108, 16.7671, 36.1891)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BA2 #65A25B
analogous
#755BA2 #985BA2 #A25B89
triadic
#985BA2 #A2985B #5BA298
tetradic
#985BA2 #A2755B #65A25B #5B89A2
square
#985BA2 #A2755B #65A25B #5B89A2
split-complementary
#985BA2 #89A25B #5BA275
monochromatic
#4E2F54 #73457B #985BA2 #B182B9 #C9A9CF

Accessibility & contrast

On white

4.82
#985BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#985BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985BA2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BA2#FFFFFF#000000##FFFFFF
##985BA21.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526DA5
Deuteranopia (green-blind)
#6274A0
Tritanopia (blue-blind)
#9A6377
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #985ba2;
/* rgb */ color: rgb(152, 91, 162);
/* oklch */ color: oklch(56.6% 0.126 321.8);
Tailwind
colors: {
  custom: {
    50: '#b88bbe',
    500: '#985ba2',
    950: '#000000',
  },
}
SCSS
$custom: #985ba2;
$custom-light: #b88bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#985ba2",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 291.549,
    "s": 28.063,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56645,
    "c": 0.12559,
    "h": 321.8
  },
  "luminance": 0.16766
}

Semantic roles & 50–950 ramp

primary
#985BA2
secondary
#A1BD9C
accent
#C46371
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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