#985BD1#985BD1

#985BD1 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.179 H 305.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#985BD1
RGBrgb(152, 91, 209)
HSLhsl(271, 56%, 59%)
HSVhsv(271, 56%, 82%)
CMYKcmyk(27.3%, 56.5%, 0%, 18%)
CIE-LABlab(50.41, 47.23, -51.67)
CIE-LCHlch(50.41, 70.01, 312.43°)
OKLaboklab(59.25% 0.1038 -0.1457)
OKLCHoklch(59.25% 0.179 305.5)
XYZxyz(28.1961, 18.7612, 62.4451)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BD1 #94D15B
analogous
#5D5BD1 #985BD1 #D15BCF
triadic
#985BD1 #D1985B #5BD198
tetradic
#985BD1 #D15D5B #94D15B #5BCFD1
square
#985BD1 #D15D5B #94D15B #5BCFD1
split-complementary
#985BD1 #CFD15B #5BD15D
monochromatic
#5A278B #7A34BA #985BD1 #B68BDE #D4BBEC

Accessibility & contrast

On white

4.42
#985BD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#985BD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BD1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BD1#FFFFFF#000000##000000
##985BD11.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E76D5
Deuteranopia (green-blind)
#4578CE
Tritanopia (blue-blind)
#8E728D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985bd1;
/* rgb */ color: rgb(152, 91, 209);
/* oklch */ color: oklch(59.2% 0.179 305.5);
Tailwind
colors: {
  custom: {
    50: '#ba8ce0',
    500: '#985bd1',
    950: '#000000',
  },
}
SCSS
$custom: #985bd1;
$custom-light: #ba8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#985bd1",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 209
  },
  "hsl": {
    "h": 271.017,
    "s": 56.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59246,
    "c": 0.17887,
    "h": 305.5
  },
  "luminance": 0.18761
}

Semantic roles & 50–950 ramp

primary
#985BD1
secondary
#C3DBAD
accent
#DF4891
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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