#985BD9#985BD9

#985BD9 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.7% C 0.188 H 303.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#985BD9
RGBrgb(152, 91, 217)
HSLhsl(269, 62%, 60%)
HSVhsv(269, 58%, 85%)
CMYKcmyk(30%, 58.1%, 0%, 14.9%)
CIE-LABlab(50.88, 49.14, -55.47)
CIE-LCHlch(50.88, 74.10, 311.54°)
OKLaboklab(59.75% 0.1039 -0.1568)
OKLCHoklch(59.75% 0.188 303.5)
XYZxyz(29.2115, 19.1674, 67.7929)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BD9 #9CD95B
analogous
#5B5DD9 #985BD9 #D75BD9
triadic
#985BD9 #D9985B #5BD998
tetradic
#985BD9 #D95B5D #9CD95B #5BD9D7
square
#985BD9 #D95B5D #9CD95B #5BD9D7
split-complementary
#985BD9 #D9D75B #5DD95B
monochromatic
#5B2397 #792EC8 #985BD9 #B78DE5 #D6BEF0

Accessibility & contrast

On white

4.34
#985BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#985BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BD9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BD9#FFFFFF#000000##000000
##985BD91.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2278DD
Deuteranopia (green-blind)
#3D79D6
Tritanopia (blue-blind)
#8C7491
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985bd9;
/* rgb */ color: rgb(152, 91, 217);
/* oklch */ color: oklch(59.7% 0.188 303.5);
Tailwind
colors: {
  custom: {
    50: '#ba8ce5',
    500: '#985bd9',
    950: '#000000',
  },
}
SCSS
$custom: #985bd9;
$custom-light: #ba8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#985bd9",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 269.048,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59748,
    "c": 0.18809,
    "h": 303.5
  },
  "luminance": 0.19167
}

Semantic roles & 50–950 ramp

primary
#985BD9
secondary
#C9E0B0
accent
#CA1B76
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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