#985EB5#985EB5

#985EB5 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.1% C 0.142 H 313.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#985EB5
RGBrgb(152, 94, 181)
HSLhsl(280, 37%, 54%)
HSVhsv(280, 48%, 71%)
CMYKcmyk(16%, 48.1%, 0%, 29%)
CIE-LABlab(49.52, 39.19, -36.95)
CIE-LCHlch(49.52, 53.86, 316.69°)
OKLaboklab(58.1% 0.0975 -0.1028)
OKLCHoklch(58.1% 0.142 313.5)
XYZxyz(25.2907, 18.0176, 45.8526)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EB5 #7BB55E
analogous
#6D5EB5 #985EB5 #B55EA7
triadic
#985EB5 #B5985E #5EB598
tetradic
#985EB5 #B56D5E #7BB55E #5EA7B5
square
#985EB5 #B56D5E #7BB55E #5EA7B5
split-complementary
#985EB5 #A7B55E #5EB56D
monochromatic
#563069 #784392 #985EB5 #B388C8 #CEB2DC

Accessibility & contrast

On white

4.56
#985EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#985EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EB5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EB5#FFFFFF#000000##000000
##985EB51.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B8
Deuteranopia (green-blind)
#5C77B3
Tritanopia (blue-blind)
#966B81
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985eb5;
/* rgb */ color: rgb(152, 94, 181);
/* oklch */ color: oklch(58.1% 0.142 313.5);
Tailwind
colors: {
  custom: {
    50: '#b88dcb',
    500: '#985eb5',
    950: '#000000',
  },
}
SCSS
$custom: #985eb5;
$custom-light: #b88dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#985eb5",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 181
  },
  "hsl": {
    "h": 280,
    "s": 37.021,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58098,
    "c": 0.14163,
    "h": 313.5
  },
  "luminance": 0.18017
}

Semantic roles & 50–950 ramp

primary
#985EB5
secondary
#B1CAA5
accent
#CD5B81
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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