#985CA2#985CA2

#985CA2 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 56.8% C 0.124 H 321.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#985CA2
RGBrgb(152, 92, 162)
HSLhsl(291, 28%, 50%)
HSVhsv(291, 43%, 64%)
CMYKcmyk(6.2%, 43.2%, 0%, 36.5%)
CIE-LABlab(48.18, 36.26, -27.91)
CIE-LCHlch(48.18, 45.76, 322.41°)
OKLaboklab(56.81% 0.0972 -0.0767)
OKLCHoklch(56.81% 0.124 321.7)
XYZxyz(23.2969, 16.9392, 36.2178)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CA2 #66A25C
analogous
#755CA2 #985CA2 #A25C89
triadic
#985CA2 #A2985C #5CA298
tetradic
#985CA2 #A2755C #66A25C #5C89A2
square
#985CA2 #A2755C #66A25C #5C89A2
split-complementary
#985CA2 #89A25C #5CA275
monochromatic
#4F3054 #73467B #985CA2 #B183B8 #C9AACF

Accessibility & contrast

On white

4.79
#985CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#985CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985CA2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CA2#FFFFFF#000000##FFFFFF
##985CA21.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536EA4
Deuteranopia (green-blind)
#6375A0
Tritanopia (blue-blind)
#9A6477
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #985ca2;
/* rgb */ color: rgb(152, 92, 162);
/* oklch */ color: oklch(56.8% 0.124 321.7);
Tailwind
colors: {
  custom: {
    50: '#b88cbd',
    500: '#985ca2',
    950: '#000000',
  },
}
SCSS
$custom: #985ca2;
$custom-light: #b88cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#985ca2",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 291.429,
    "s": 27.559,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56808,
    "c": 0.12381,
    "h": 321.7
  },
  "luminance": 0.16938
}

Semantic roles & 50–950 ramp

primary
#985CA2
secondary
#A2BD9D
accent
#C46472
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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