#985EB2#985EB2

#985EB2 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 57.9% C 0.138 H 314.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#985EB2
RGBrgb(152, 94, 178)
HSLhsl(281, 35%, 53%)
HSVhsv(281, 47%, 70%)
CMYKcmyk(14.6%, 47.2%, 0%, 30.2%)
CIE-LABlab(49.37, 38.54, -35.44)
CIE-LCHlch(49.37, 52.35, 317.40°)
OKLaboklab(57.94% 0.097 -0.0984)
OKLCHoklch(57.94% 0.138 314.6)
XYZxyz(24.9862, 17.8958, 44.2489)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EB2 #78B25E
analogous
#6E5EB2 #985EB2 #B25EA2
triadic
#985EB2 #B2985E #5EB298
tetradic
#985EB2 #B26E5E #78B25E #5EA2B2
square
#985EB2 #B26E5E #78B25E #5EA2B2
split-complementary
#985EB2 #A2B25E #5EB26E
monochromatic
#553065 #78448F #985EB2 #B287C6 #CDB1DA

Accessibility & contrast

On white

4.59
#985EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#985EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985EB2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EB2#FFFFFF#000000##FFFFFF
##985EB21.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#5D77B0
Tritanopia (blue-blind)
#966A80
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985eb2;
/* rgb */ color: rgb(152, 94, 178);
/* oklch */ color: oklch(57.9% 0.138 314.6);
Tailwind
colors: {
  custom: {
    50: '#b88dc9',
    500: '#985eb2',
    950: '#000000',
  },
}
SCSS
$custom: #985eb2;
$custom-light: #b88dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#985eb2",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 281.429,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5794,
    "c": 0.13818,
    "h": 314.6
  },
  "luminance": 0.17895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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