#985FB1#985FB1

#985FB1 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.0% C 0.135 H 314.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#985FB1
RGBrgb(152, 95, 177)
HSLhsl(282, 34%, 53%)
HSVhsv(282, 46%, 69%)
CMYKcmyk(14.1%, 46.3%, 0%, 30.6%)
CIE-LABlab(49.54, 37.76, -34.59)
CIE-LCHlch(49.54, 51.21, 317.51°)
OKLaboklab(58.05% 0.0954 -0.0959)
OKLCHoklch(58.05% 0.135 314.8)
XYZxyz(24.9757, 18.0348, 43.7518)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FB1 #78B15F
analogous
#6F5FB1 #985FB1 #B15FA1
triadic
#985FB1 #B1985F #5FB198
tetradic
#985FB1 #B16F5F #78B15F #5FA1B1
square
#985FB1 #B16F5F #78B15F #5FA1B1
split-complementary
#985FB1 #A1B15F #5FB16F
monochromatic
#553165 #78458E #985FB1 #B288C5 #CDB1D9

Accessibility & contrast

On white

4.56
#985FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#985FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FB1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FB1#FFFFFF#000000##000000
##985FB11.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F72B4
Deuteranopia (green-blind)
#5F77AF
Tritanopia (blue-blind)
#966B80
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985fb1;
/* rgb */ color: rgb(152, 95, 177);
/* oklch */ color: oklch(58.0% 0.135 314.8);
Tailwind
colors: {
  custom: {
    50: '#b88ec8',
    500: '#985fb1',
    950: '#000000',
  },
}
SCSS
$custom: #985fb1;
$custom-light: #b88ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#985fb1",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 281.707,
    "s": 34.454,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58049,
    "c": 0.1353,
    "h": 314.8
  },
  "luminance": 0.18034
}

Semantic roles & 50–950 ramp

primary
#985FB1
secondary
#AFC8A4
accent
#CB5D7F
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #985FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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