#985EB6#985EB6

#985EB6 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.2% C 0.143 H 313.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#985EB6
RGBrgb(152, 94, 182)
HSLhsl(280, 38%, 54%)
HSVhsv(280, 48%, 71%)
CMYKcmyk(16.5%, 48.4%, 0%, 28.6%)
CIE-LABlab(49.57, 39.41, -37.45)
CIE-LCHlch(49.57, 54.37, 316.46°)
OKLaboklab(58.15% 0.0976 -0.1042)
OKLCHoklch(58.15% 0.143 313.1)
XYZxyz(25.3937, 18.0588, 46.3949)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EB6 #7CB65E
analogous
#6C5EB6 #985EB6 #B65EA8
triadic
#985EB6 #B6985E #5EB698
tetradic
#985EB6 #B66C5E #7CB65E #5EA8B6
square
#985EB6 #B66C5E #7CB65E #5EA8B6
split-complementary
#985EB6 #A8B65E #5EB66C
monochromatic
#56306A #784394 #985EB6 #B388C9 #CEB2DC

Accessibility & contrast

On white

4.55
#985EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#985EB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EB6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EB6#FFFFFF#000000##000000
##985EB61.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B73B9
Deuteranopia (green-blind)
#5B77B4
Tritanopia (blue-blind)
#956C81
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985eb6;
/* rgb */ color: rgb(152, 94, 182);
/* oklch */ color: oklch(58.2% 0.143 313.1);
Tailwind
colors: {
  custom: {
    50: '#b88dcc',
    500: '#985eb6',
    950: '#000000',
  },
}
SCSS
$custom: #985eb6;
$custom-light: #b88dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#985eb6",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 182
  },
  "hsl": {
    "h": 279.545,
    "s": 37.607,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58151,
    "c": 0.14279,
    "h": 313.1
  },
  "luminance": 0.18058
}

Semantic roles & 50–950 ramp

primary
#985EB6
secondary
#B2CBA5
accent
#CE5A82
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #985EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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