#985AD2#985AD2

#985AD2 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.2% C 0.182 H 305.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#985AD2
RGBrgb(152, 90, 210)
HSLhsl(271, 57%, 59%)
HSVhsv(271, 57%, 82%)
CMYKcmyk(27.6%, 57.1%, 0%, 17.6%)
CIE-LABlab(50.26, 48.00, -52.47)
CIE-LCHlch(50.26, 71.11, 312.45°)
OKLaboklab(59.16% 0.1051 -0.148)
OKLCHoklch(59.16% 0.182 305.4)
XYZxyz(28.2354, 18.6411, 63.0709)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AD2 #94D25A
analogous
#5C5AD2 #985AD2 #D25AD0
triadic
#985AD2 #D2985A #5AD298
tetradic
#985AD2 #D25C5A #94D25A #5AD0D2
square
#985AD2 #D25C5A #94D25A #5AD0D2
split-complementary
#985AD2 #D0D25A #5AD25C
monochromatic
#5A268C #7A33BC #985AD2 #B68ADF #D4BAEC

Accessibility & contrast

On white

4.44
#985AD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#985AD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AD2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AD2#FFFFFF#000000##000000
##985AD21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A76D6
Deuteranopia (green-blind)
#4378CF
Tritanopia (blue-blind)
#8E718D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985ad2;
/* rgb */ color: rgb(152, 90, 210);
/* oklch */ color: oklch(59.2% 0.182 305.4);
Tailwind
colors: {
  custom: {
    50: '#ba8be0',
    500: '#985ad2',
    950: '#000000',
  },
}
SCSS
$custom: #985ad2;
$custom-light: #ba8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#985ad2",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 210
  },
  "hsl": {
    "h": 271,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59161,
    "c": 0.18152,
    "h": 305.4
  },
  "luminance": 0.18641
}

Semantic roles & 50–950 ramp

primary
#985AD2
secondary
#C3DCAC
accent
#E04791
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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