#985CB1#985CB1

#985CB1 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 57.6% C 0.140 H 315.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#985CB1
RGBrgb(152, 92, 177)
HSLhsl(282, 35%, 53%)
HSVhsv(282, 48%, 69%)
CMYKcmyk(14.1%, 48%, 0%, 30.6%)
CIE-LABlab(48.89, 39.42, -35.61)
CIE-LCHlch(48.89, 53.12, 317.91°)
OKLaboklab(57.57% 0.0998 -0.0989)
OKLCHoklch(57.57% 0.14 315.3)
XYZxyz(24.7106, 17.5047, 43.6635)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CB1 #75B15C
analogous
#6D5CB1 #985CB1 #B15C9F
triadic
#985CB1 #B1985C #5CB198
tetradic
#985CB1 #B16D5C #75B15C #5C9FB1
square
#985CB1 #B16D5C #75B15C #5C9FB1
split-complementary
#985CB1 #9FB15C #5CB16D
monochromatic
#542F63 #77438D #985CB1 #B285C5 #CCAFD9

Accessibility & contrast

On white

4.67
#985CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#985CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985CB1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CB1#FFFFFF#000000##FFFFFF
##985CB11.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B4
Deuteranopia (green-blind)
#5C76AF
Tritanopia (blue-blind)
#97697E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985cb1;
/* rgb */ color: rgb(152, 92, 177);
/* oklch */ color: oklch(57.6% 0.140 315.3);
Tailwind
colors: {
  custom: {
    50: '#b88cc8',
    500: '#985cb1',
    950: '#000000',
  },
}
SCSS
$custom: #985cb1;
$custom-light: #b88cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#985cb1",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 282.353,
    "s": 35.27,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57566,
    "c": 0.14046,
    "h": 315.3
  },
  "luminance": 0.17504
}

Semantic roles & 50–950 ramp

primary
#985CB1
secondary
#ADC7A2
accent
#CB5C7D
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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