#985FB9#985FB9

#985FB9 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.5% C 0.145 H 311.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#985FB9
RGBrgb(152, 95, 185)
HSLhsl(278, 39%, 55%)
HSVhsv(278, 49%, 73%)
CMYKcmyk(17.8%, 48.6%, 0%, 27.5%)
CIE-LABlab(49.93, 39.53, -38.62)
CIE-LCHlch(49.93, 55.26, 315.67°)
OKLaboklab(58.47% 0.0966 -0.1076)
OKLCHoklch(58.47% 0.145 311.9)
XYZxyz(25.7965, 18.3631, 48.0750)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FB9 #80B95F
analogous
#6B5FB9 #985FB9 #B95FAD
triadic
#985FB9 #B9985F #5FB998
tetradic
#985FB9 #B96B5F #80B95F #5FADB9
square
#985FB9 #B96B5F #80B95F #5FADB9
split-complementary
#985FB9 #ADB95F #5FB96B
monochromatic
#57306E #794398 #985FB9 #B38ACC #CFB4DE

Accessibility & contrast

On white

4.49
#985FB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#985FB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FB9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FB9#FFFFFF#000000##000000
##985FB91.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BC
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#956D83
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985fb9;
/* rgb */ color: rgb(152, 95, 185);
/* oklch */ color: oklch(58.5% 0.145 311.9);
Tailwind
colors: {
  custom: {
    50: '#b88ece',
    500: '#985fb9',
    950: '#000000',
  },
}
SCSS
$custom: #985fb9;
$custom-light: #b88ece;
$custom-dark: #000000;
JSON
{
  "hex": "#985fb9",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 185
  },
  "hsl": {
    "h": 278,
    "s": 39.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58473,
    "c": 0.14458,
    "h": 311.9
  },
  "luminance": 0.18363
}

Semantic roles & 50–950 ramp

primary
#985FB9
secondary
#B5CDA7
accent
#CF5984
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #985FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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