#985BD3#985BD3

#985BD3 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.181 H 305.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#985BD3
RGBrgb(152, 91, 211)
HSLhsl(271, 58%, 59%)
HSVhsv(271, 57%, 83%)
CMYKcmyk(28%, 56.9%, 0%, 17.3%)
CIE-LABlab(50.52, 47.71, -52.63)
CIE-LCHlch(50.52, 71.03, 312.19°)
OKLaboklab(59.37% 0.1038 -0.1485)
OKLCHoklch(59.37% 0.181 305)
XYZxyz(28.4453, 18.8609, 63.7574)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BD3 #96D35B
analogous
#5C5BD3 #985BD3 #D35BD2
triadic
#985BD3 #D3985B #5BD398
tetradic
#985BD3 #D35C5B #96D35B #5BD2D3
square
#985BD3 #D35C5B #96D35B #5BD2D3
split-complementary
#985BD3 #D2D35B #5BD35C
monochromatic
#5B268E #7A33BE #985BD3 #B68BE0 #D5BCED

Accessibility & contrast

On white

4.40
#985BD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#985BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BD3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BD3#FFFFFF#000000##000000
##985BD31.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B77D7
Deuteranopia (green-blind)
#4378D0
Tritanopia (blue-blind)
#8E728E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985bd3;
/* rgb */ color: rgb(152, 91, 211);
/* oklch */ color: oklch(59.4% 0.181 305.0);
Tailwind
colors: {
  custom: {
    50: '#ba8ce1',
    500: '#985bd3',
    950: '#000000',
  },
}
SCSS
$custom: #985bd3;
$custom-light: #ba8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#985bd3",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 211
  },
  "hsl": {
    "h": 270.5,
    "s": 57.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5937,
    "c": 0.18118,
    "h": 305
  },
  "luminance": 0.18861
}

Semantic roles & 50–950 ramp

primary
#985BD3
secondary
#C5DCAD
accent
#E14793
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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