#985AC2#985AC2

#985AC2 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.163 H 309.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#985AC2
RGBrgb(152, 90, 194)
HSLhsl(276, 46%, 56%)
HSVhsv(276, 54%, 76%)
CMYKcmyk(21.6%, 53.6%, 0%, 23.9%)
CIE-LABlab(49.35, 44.29, -44.74)
CIE-LCHlch(49.35, 62.95, 314.71°)
OKLaboklab(58.2% 0.1044 -0.1254)
OKLCHoklch(58.2% 0.163 309.8)
XYZxyz(26.3408, 17.8832, 53.0927)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AC2 #84C25A
analogous
#645AC2 #985AC2 #C25AB8
triadic
#985AC2 #C2985A #5AC298
tetradic
#985AC2 #C2645A #84C25A #5AB8C2
square
#985AC2 #C2645A #84C25A #5AB8C2
split-complementary
#985AC2 #B8C25A #5AC264
monochromatic
#582C76 #793CA3 #985AC2 #B487D3 #D0B3E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985AC2#FFFFFF#000000##FFFFFF
##985AC21.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)
#3C73C5
Deuteranopia (green-blind)
#5076BF
Tritanopia (blue-blind)
#936C85
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985ac2;
/* rgb */ color: rgb(152, 90, 194);
/* oklch */ color: oklch(58.2% 0.163 309.8);
Tailwind
colors: {
  custom: {
    50: '#b98bd5',
    500: '#985ac2',
    950: '#000000',
  },
}
SCSS
$custom: #985ac2;
$custom-light: #b98bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#985ac2",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 275.769,
    "s": 46.018,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58198,
    "c": 0.16317,
    "h": 309.8
  },
  "luminance": 0.17883
}

Semantic roles & 50–950 ramp

primary
#985AC2
secondary
#B8D2A6
accent
#D65287
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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