#985BD0#985BD0

#985BD0 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.2% C 0.178 H 305.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#985BD0
RGBrgb(152, 91, 208)
HSLhsl(271, 55%, 59%)
HSVhsv(271, 56%, 82%)
CMYKcmyk(26.9%, 56.2%, 0%, 18.4%)
CIE-LABlab(50.35, 47.00, -51.19)
CIE-LCHlch(50.35, 69.49, 312.55°)
OKLaboklab(59.19% 0.1038 -0.1443)
OKLCHoklch(59.19% 0.178 305.7)
XYZxyz(28.0727, 18.7118, 61.7951)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BD0 #93D05B
analogous
#5D5BD0 #985BD0 #D05BCD
triadic
#985BD0 #D0985B #5BD098
tetradic
#985BD0 #D05D5B #93D05B #5BCDD0
square
#985BD0 #D05D5B #93D05B #5BCDD0
split-complementary
#985BD0 #CDD05B #5BD05D
monochromatic
#5A2789 #7A35B9 #985BD0 #B68BDE #D4BAEB

Accessibility & contrast

On white

4.43
#985BD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#985BD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BD0
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BD0#FFFFFF#000000##000000
##985BD01.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F76D4
Deuteranopia (green-blind)
#4678CD
Tritanopia (blue-blind)
#8F718D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985bd0;
/* rgb */ color: rgb(152, 91, 208);
/* oklch */ color: oklch(59.2% 0.178 305.7);
Tailwind
colors: {
  custom: {
    50: '#b98cdf',
    500: '#985bd0',
    950: '#000000',
  },
}
SCSS
$custom: #985bd0;
$custom-light: #b98cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#985bd0",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 208
  },
  "hsl": {
    "h": 271.282,
    "s": 55.45,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59185,
    "c": 0.17772,
    "h": 305.7
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#985BD0
secondary
#C2DBAC
accent
#DF4991
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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