#985FB7#985FB7

#985FB7 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.4% C 0.142 H 312.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#985FB7
RGBrgb(152, 95, 183)
HSLhsl(279, 38%, 55%)
HSVhsv(279, 48%, 72%)
CMYKcmyk(16.9%, 48.1%, 0%, 28.2%)
CIE-LABlab(49.83, 39.08, -37.61)
CIE-LCHlch(49.83, 54.24, 316.10°)
OKLaboklab(58.37% 0.0963 -0.1047)
OKLCHoklch(58.37% 0.142 312.6)
XYZxyz(25.5869, 18.2793, 46.9709)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FB7 #7EB75F
analogous
#6C5FB7 #985FB7 #B75FAA
triadic
#985FB7 #B7985F #5FB798
tetradic
#985FB7 #B76C5F #7EB75F #5FAAB7
square
#985FB7 #B76C5F #7EB75F #5FAAB7
split-complementary
#985FB7 #AAB75F #5FB76C
monochromatic
#57306B #794396 #985FB7 #B389CA #CEB3DD

Accessibility & contrast

On white

4.51
#985FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#985FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FB7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FB7#FFFFFF#000000##000000
##985FB71.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B73BA
Deuteranopia (green-blind)
#5C78B5
Tritanopia (blue-blind)
#956D82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985fb7;
/* rgb */ color: rgb(152, 95, 183);
/* oklch */ color: oklch(58.4% 0.142 312.6);
Tailwind
colors: {
  custom: {
    50: '#b88ecd',
    500: '#985fb7',
    950: '#000000',
  },
}
SCSS
$custom: #985fb7;
$custom-light: #b88ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#985fb7",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 183
  },
  "hsl": {
    "h": 278.864,
    "s": 37.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.14225,
    "h": 312.6
  },
  "luminance": 0.18279
}

Semantic roles & 50–950 ramp

primary
#985FB7
secondary
#B3CCA6
accent
#CE5A83
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #985FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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