#985FB6#985FB6

#985FB6 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.3% C 0.141 H 313.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#985FB6
RGBrgb(152, 95, 182)
HSLhsl(279, 37%, 54%)
HSVhsv(279, 48%, 71%)
CMYKcmyk(16.5%, 47.8%, 0%, 28.6%)
CIE-LABlab(49.78, 38.86, -37.11)
CIE-LCHlch(49.78, 53.74, 316.32°)
OKLaboklab(58.31% 0.0962 -0.1032)
OKLCHoklch(58.31% 0.141 313)
XYZxyz(25.4832, 18.2378, 46.4247)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FB6 #7DB65F
analogous
#6D5FB6 #985FB6 #B65FA9
triadic
#985FB6 #B6985F #5FB698
tetradic
#985FB6 #B66D5F #7DB65F #5FA9B6
square
#985FB6 #B66D5F #7DB65F #5FA9B6
split-complementary
#985FB6 #A9B65F #5FB66D
monochromatic
#56306A #784494 #985FB6 #B389C9 #CEB3DC

Accessibility & contrast

On white

4.52
#985FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#985FB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FB6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FB6#FFFFFF#000000##000000
##985FB61.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C73B9
Deuteranopia (green-blind)
#5C78B4
Tritanopia (blue-blind)
#956C82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985fb6;
/* rgb */ color: rgb(152, 95, 182);
/* oklch */ color: oklch(58.3% 0.141 313.0);
Tailwind
colors: {
  custom: {
    50: '#b88ecc',
    500: '#985fb6',
    950: '#000000',
  },
}
SCSS
$custom: #985fb6;
$custom-light: #b88ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#985fb6",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 182
  },
  "hsl": {
    "h": 279.31,
    "s": 37.339,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58312,
    "c": 0.14109,
    "h": 313
  },
  "luminance": 0.18237
}

Semantic roles & 50–950 ramp

primary
#985FB6
secondary
#B3CBA6
accent
#CD5A82
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #985FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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