#985AD9#985AD9

#985AD9 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.190 H 303.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#985AD9
RGBrgb(152, 90, 217)
HSLhsl(269, 63%, 60%)
HSVhsv(269, 59%, 85%)
CMYKcmyk(30%, 58.5%, 0%, 14.9%)
CIE-LABlab(50.68, 49.66, -55.78)
CIE-LCHlch(50.68, 74.69, 311.68°)
OKLaboklab(59.6% 0.1051 -0.1577)
OKLCHoklch(59.6% 0.19 303.7)
XYZxyz(29.1266, 18.9975, 67.7646)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AD9 #9BD95A
analogous
#5A5BD9 #985AD9 #D75AD9
triadic
#985AD9 #D9985A #5AD998
tetradic
#985AD9 #D95A5B #9BD95A #5AD9D7
square
#985AD9 #D95A5B #9BD95A #5AD9D7
split-complementary
#985AD9 #D9D75A #5BD95A
monochromatic
#5B2396 #792EC8 #985AD9 #B78CE4 #D6BDF0

Accessibility & contrast

On white

4.38
#985AD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#985AD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AD9
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AD9#FFFFFF#000000##000000
##985AD91.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E77DD
Deuteranopia (green-blind)
#3C79D6
Tritanopia (blue-blind)
#8C7391
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985ad9;
/* rgb */ color: rgb(152, 90, 217);
/* oklch */ color: oklch(59.6% 0.190 303.7);
Tailwind
colors: {
  custom: {
    50: '#ba8be5',
    500: '#985ad9',
    950: '#000000',
  },
}
SCSS
$custom: #985ad9;
$custom-light: #ba8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#985ad9",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 217
  },
  "hsl": {
    "h": 269.291,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59603,
    "c": 0.18954,
    "h": 303.7
  },
  "luminance": 0.18997
}

Semantic roles & 50–950 ramp

primary
#985AD9
secondary
#C8E0AF
accent
#CA1B75
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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