#985DB7#985DB7

#985DB7 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.0% C 0.146 H 312.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#985DB7
RGBrgb(152, 93, 183)
HSLhsl(279, 38%, 54%)
HSVhsv(279, 49%, 72%)
CMYKcmyk(16.9%, 49.2%, 0%, 28.2%)
CIE-LABlab(49.40, 40.19, -38.29)
CIE-LCHlch(49.40, 55.51, 316.38°)
OKLaboklab(58.05% 0.0992 -0.1066)
OKLCHoklch(58.05% 0.146 312.9)
XYZxyz(25.4090, 17.9236, 46.9117)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DB7 #7CB75D
analogous
#6B5DB7 #985DB7 #B75DA9
triadic
#985DB7 #B7985D #5DB798
tetradic
#985DB7 #B76B5D #7CB75D #5DA9B7
square
#985DB7 #B76B5D #7CB75D #5DA9B7
split-complementary
#985DB7 #A9B75D #5DB76B
monochromatic
#562F6A #784295 #985DB7 #B387CA #CEB2DD

Accessibility & contrast

On white

4.58
#985DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #985DB7
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DB7#FFFFFF#000000##000000
##985DB71.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4972BA
Deuteranopia (green-blind)
#5A77B5
Tritanopia (blue-blind)
#956B81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985db7;
/* rgb */ color: rgb(152, 93, 183);
/* oklch */ color: oklch(58.0% 0.146 312.9);
Tailwind
colors: {
  custom: {
    50: '#b88dcd',
    500: '#985db7',
    950: '#000000',
  },
}
SCSS
$custom: #985db7;
$custom-light: #b88dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#985db7",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 183
  },
  "hsl": {
    "h": 279.333,
    "s": 38.462,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58046,
    "c": 0.14563,
    "h": 312.9
  },
  "luminance": 0.17923
}

Semantic roles & 50–950 ramp

primary
#985DB7
secondary
#B2CBA5
accent
#CE5982
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #985DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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