#985BC6#985BC6

#985BC6 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.166 H 308.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#985BC6
RGBrgb(152, 91, 198)
HSLhsl(274, 48%, 57%)
HSVhsv(274, 54%, 78%)
CMYKcmyk(23.2%, 54%, 0%, 22.4%)
CIE-LABlab(49.78, 44.67, -46.37)
CIE-LCHlch(49.78, 64.38, 313.93°)
OKLaboklab(58.58% 0.1033 -0.1301)
OKLCHoklch(58.58% 0.166 308.4)
XYZxyz(26.8810, 18.2352, 55.5188)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BC6 #89C65B
analogous
#635BC6 #985BC6 #C65BBE
triadic
#985BC6 #C6985B #5BC698
tetradic
#985BC6 #C6635B #89C65B #5BBEC6
square
#985BC6 #C6635B #89C65B #5BBEC6
split-complementary
#985BC6 #BEC65B #5BC663
monochromatic
#592B7C #7A3BA9 #985BC6 #B588D6 #D1B6E6

Accessibility & contrast

On white

4.52
#985BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#985BC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BC6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BC6#FFFFFF#000000##000000
##985BC61.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A74CA
Deuteranopia (green-blind)
#4E77C3
Tritanopia (blue-blind)
#916E88
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985bc6;
/* rgb */ color: rgb(152, 91, 198);
/* oklch */ color: oklch(58.6% 0.166 308.4);
Tailwind
colors: {
  custom: {
    50: '#b98cd8',
    500: '#985bc6',
    950: '#000000',
  },
}
SCSS
$custom: #985bc6;
$custom-light: #b98cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#985bc6",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 198
  },
  "hsl": {
    "h": 274.206,
    "s": 48.416,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58583,
    "c": 0.16617,
    "h": 308.4
  },
  "luminance": 0.18235
}

Semantic roles & 50–950 ramp

primary
#985BC6
secondary
#BBD4A9
accent
#D8508A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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