#985FB4#985FB4

#985FB4 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.2% C 0.139 H 313.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#985FB4
RGBrgb(152, 95, 180)
HSLhsl(280, 36%, 54%)
HSVhsv(280, 47%, 71%)
CMYKcmyk(15.6%, 47.2%, 0%, 29.4%)
CIE-LABlab(49.68, 38.42, -36.10)
CIE-LCHlch(49.68, 52.72, 316.78°)
OKLaboklab(58.21% 0.0959 -0.1003)
OKLCHoklch(58.21% 0.139 313.7)
XYZxyz(25.2780, 18.1557, 45.3440)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FB4 #7BB45F
analogous
#6E5FB4 #985FB4 #B45FA6
triadic
#985FB4 #B4985F #5FB498
tetradic
#985FB4 #B46E5F #7BB45F #5FA6B4
square
#985FB4 #B46E5F #7BB45F #5FA6B4
split-complementary
#985FB4 #A6B45F #5FB46E
monochromatic
#563168 #784492 #985FB4 #B389C8 #CEB2DB

Accessibility & contrast

On white

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

On black

4.63
#985FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FB4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FB4#FFFFFF#000000##000000
##985FB41.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #985fb4;
/* rgb */ color: rgb(152, 95, 180);
/* oklch */ color: oklch(58.2% 0.139 313.7);
Tailwind
colors: {
  custom: {
    50: '#b88ecb',
    500: '#985fb4',
    950: '#000000',
  },
}
SCSS
$custom: #985fb4;
$custom-light: #b88ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#985fb4",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 180
  },
  "hsl": {
    "h": 280.235,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58206,
    "c": 0.13876,
    "h": 313.7
  },
  "luminance": 0.18155
}

Semantic roles & 50–950 ramp

primary
#985FB4
secondary
#B1CAA5
accent
#CC5C81
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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