#985BC7#985BC7

#985BC7 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.167 H 308.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#985BC7
RGBrgb(152, 91, 199)
HSLhsl(274, 49%, 57%)
HSVhsv(274, 54%, 78%)
CMYKcmyk(23.6%, 54.3%, 0%, 22%)
CIE-LABlab(49.84, 44.90, -46.85)
CIE-LCHlch(49.84, 64.89, 313.78°)
OKLaboklab(58.64% 0.1034 -0.1316)
OKLCHoklch(58.64% 0.167 308.2)
XYZxyz(26.9967, 18.2815, 56.1282)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BC7 #8AC75B
analogous
#625BC7 #985BC7 #C75BC0
triadic
#985BC7 #C7985B #5BC798
tetradic
#985BC7 #C7625B #8AC75B #5BC0C7
square
#985BC7 #C7625B #8AC75B #5BC0C7
split-complementary
#985BC7 #C0C75B #5BC762
monochromatic
#592B7D #7A3AAB #985BC7 #B589D7 #D1B6E6

Accessibility & contrast

On white

4.51
#985BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#985BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BC7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BC7#FFFFFF#000000##000000
##985BC71.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3974CB
Deuteranopia (green-blind)
#4D77C4
Tritanopia (blue-blind)
#916E88
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985bc7;
/* rgb */ color: rgb(152, 91, 199);
/* oklch */ color: oklch(58.6% 0.167 308.2);
Tailwind
colors: {
  custom: {
    50: '#b98cd8',
    500: '#985bc7',
    950: '#000000',
  },
}
SCSS
$custom: #985bc7;
$custom-light: #b98cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#985bc7",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 273.889,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58642,
    "c": 0.16733,
    "h": 308.2
  },
  "luminance": 0.18281
}

Semantic roles & 50–950 ramp

primary
#985BC7
secondary
#BCD5A9
accent
#D94F8B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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