#985DA2#985DA2

#985DA2 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.0% C 0.122 H 321.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#985DA2
RGBrgb(152, 93, 162)
HSLhsl(291, 27%, 50%)
HSVhsv(291, 43%, 64%)
CMYKcmyk(6.2%, 42.6%, 0%, 36.5%)
CIE-LABlab(48.40, 35.70, -27.57)
CIE-LCHlch(48.40, 45.11, 322.32°)
OKLaboklab(56.97% 0.0957 -0.0757)
OKLCHoklch(56.97% 0.122 321.6)
XYZxyz(23.3841, 17.1136, 36.2469)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DA2 #67A25D
analogous
#755DA2 #985DA2 #A25D8A
triadic
#985DA2 #A2985D #5DA298
tetradic
#985DA2 #A2755D #67A25D #5D8AA2
square
#985DA2 #A2755D #67A25D #5D8AA2
split-complementary
#985DA2 #8AA25D #5DA275
monochromatic
#4F3054 #74477B #985DA2 #B184B8 #C9ABCF

Accessibility & contrast

On white

4.75
#985DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#985DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985DA2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DA2#FFFFFF#000000##FFFFFF
##985DA21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546FA4
Deuteranopia (green-blind)
#6475A0
Tritanopia (blue-blind)
#9A6578
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #985da2;
/* rgb */ color: rgb(152, 93, 162);
/* oklch */ color: oklch(57.0% 0.122 321.6);
Tailwind
colors: {
  custom: {
    50: '#b88cbd',
    500: '#985da2',
    950: '#000000',
  },
}
SCSS
$custom: #985da2;
$custom-light: #b88cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#985da2",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 162
  },
  "hsl": {
    "h": 291.304,
    "s": 27.059,
    "l": 50
  },
  "oklch": {
    "l": 0.56972,
    "c": 0.12201,
    "h": 321.6
  },
  "luminance": 0.17113
}

Semantic roles & 50–950 ramp

primary
#985DA2
secondary
#A2BD9E
accent
#C36472
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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