#985DAF#985DAF

#985DAF is a mid, vivid purple. Relative luminance 0.176; OKLCH L 57.6% C 0.136 H 315.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#985DAF
RGBrgb(152, 93, 175)
HSLhsl(283, 34%, 53%)
HSVhsv(283, 47%, 69%)
CMYKcmyk(13.1%, 46.9%, 0%, 31.4%)
CIE-LABlab(49.01, 38.44, -34.25)
CIE-LCHlch(49.01, 51.49, 318.29°)
OKLaboklab(57.62% 0.098 -0.095)
OKLCHoklch(57.62% 0.136 315.9)
XYZxyz(24.5999, 17.5999, 42.6504)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DAF #74AF5D
analogous
#6F5DAF #985DAF #AF5D9D
triadic
#985DAF #AF985D #5DAF98
tetradic
#985DAF #AF6F5D #74AF5D #5D9DAF
square
#985DAF #AF6F5D #74AF5D #5D9DAF
split-complementary
#985DAF #9DAF5D #5DAF6F
monochromatic
#543061 #77448A #985DAF #B286C3 #CCAFD7

Accessibility & contrast

On white

4.65
#985DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#985DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985DAF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DAF#FFFFFF#000000##FFFFFF
##985DAF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E71B2
Deuteranopia (green-blind)
#5E76AD
Tritanopia (blue-blind)
#97697E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985daf;
/* rgb */ color: rgb(152, 93, 175);
/* oklch */ color: oklch(57.6% 0.136 315.9);
Tailwind
colors: {
  custom: {
    50: '#b88cc7',
    500: '#985daf',
    950: '#000000',
  },
}
SCSS
$custom: #985daf;
$custom-light: #b88cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#985daf",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 283.171,
    "s": 33.884,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57622,
    "c": 0.13647,
    "h": 315.9
  },
  "luminance": 0.17599
}

Semantic roles & 50–950 ramp

primary
#985DAF
secondary
#ACC6A2
accent
#CA5E7C
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #985DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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