#985BD5#985BD5

#985BD5 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.183 H 304.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#985BD5
RGBrgb(152, 91, 213)
HSLhsl(270, 59%, 60%)
HSVhsv(270, 57%, 84%)
CMYKcmyk(28.6%, 57.3%, 0%, 16.5%)
CIE-LABlab(50.64, 48.18, -53.58)
CIE-LCHlch(50.64, 72.05, 311.97°)
OKLaboklab(59.5% 0.1039 -0.1512)
OKLCHoklch(59.5% 0.183 304.5)
XYZxyz(28.6976, 18.9618, 65.0860)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BD5 #98D55B
analogous
#5B5BD5 #985BD5 #D55BD5
triadic
#985BD5 #D5985B #5BD598
tetradic
#985BD5 #D55B5B #98D55B #5BD5D5
square
#985BD5 #D55B5B #98D55B #5BD5D5
split-complementary
#985BD5 #D5D55B #5BD55B
monochromatic
#5B2591 #7932C1 #985BD5 #B78CE1 #D5BCEE

Accessibility & contrast

On white

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

On black

4.79
#985BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BD5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BD5#FFFFFF#000000##000000
##985BD51.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2877D9
Deuteranopia (green-blind)
#4279D2
Tritanopia (blue-blind)
#8D738F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985bd5;
/* rgb */ color: rgb(152, 91, 213);
/* oklch */ color: oklch(59.5% 0.183 304.5);
Tailwind
colors: {
  custom: {
    50: '#ba8ce2',
    500: '#985bd5',
    950: '#000000',
  },
}
SCSS
$custom: #985bd5;
$custom-light: #ba8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#985bd5",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 270,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59495,
    "c": 0.18348,
    "h": 304.5
  },
  "luminance": 0.18962
}

Semantic roles & 50–950 ramp

primary
#985BD5
secondary
#C6DEAE
accent
#E24594
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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