#985FB5#985FB5

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

Color values

HEX#985FB5
RGBrgb(152, 95, 181)
HSLhsl(280, 37%, 54%)
HSVhsv(280, 48%, 71%)
CMYKcmyk(16%, 47.5%, 0%, 29%)
CIE-LABlab(49.73, 38.64, -36.61)
CIE-LCHlch(49.73, 53.23, 316.55°)
OKLaboklab(58.26% 0.096 -0.1018)
OKLCHoklch(58.26% 0.14 313.3)
XYZxyz(25.3802, 18.1966, 45.8824)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FB5 #7CB55F
analogous
#6D5FB5 #985FB5 #B55FA7
triadic
#985FB5 #B5985F #5FB598
tetradic
#985FB5 #B56D5F #7CB55F #5FA7B5
square
#985FB5 #B56D5F #7CB55F #5FA7B5
split-complementary
#985FB5 #A7B55F #5FB56D
monochromatic
#563169 #784493 #985FB5 #B389C8 #CEB3DC

Accessibility & contrast

On white

4.53
#985FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#985FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FB5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FB5#FFFFFF#000000##000000
##985FB51.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D73B8
Deuteranopia (green-blind)
#5D78B3
Tritanopia (blue-blind)
#966C81
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985fb5;
/* rgb */ color: rgb(152, 95, 181);
/* oklch */ color: oklch(58.3% 0.140 313.3);
Tailwind
colors: {
  custom: {
    50: '#b88ecb',
    500: '#985fb5',
    950: '#000000',
  },
}
SCSS
$custom: #985fb5;
$custom-light: #b88ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#985fb5",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 279.767,
    "s": 36.752,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58259,
    "c": 0.13993,
    "h": 313.3
  },
  "luminance": 0.18196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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