#985FD5#985FD5

#985FD5 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.1% C 0.177 H 303.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#985FD5
RGBrgb(152, 95, 213)
HSLhsl(269, 58%, 60%)
HSVhsv(269, 55%, 84%)
CMYKcmyk(28.6%, 55.4%, 0%, 16.5%)
CIE-LABlab(51.46, 46.04, -52.28)
CIE-LCHlch(51.46, 69.66, 311.37°)
OKLaboklab(60.09% 0.0988 -0.1474)
OKLCHoklch(60.09% 0.178 303.8)
XYZxyz(29.0487, 19.6640, 65.2031)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FD5 #9CD55F
analogous
#5F61D5 #985FD5 #D35FD5
triadic
#985FD5 #D5985F #5FD598
tetradic
#985FD5 #D55F61 #9CD55F #5FD5D3
square
#985FD5 #D55F61 #9CD55F #5FD5D3
split-complementary
#985FD5 #D5D35F #61D55F
monochromatic
#5B2793 #7933C3 #985FD5 #B78FE2 #D6C0EE

Accessibility & contrast

On white

4.26
#985FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#985FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FD5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FD5#FFFFFF#000000##000000
##985FD51.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3279D9
Deuteranopia (green-blind)
#477BD2
Tritanopia (blue-blind)
#8D7691
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985fd5;
/* rgb */ color: rgb(152, 95, 213);
/* oklch */ color: oklch(60.1% 0.177 303.8);
Tailwind
colors: {
  custom: {
    50: '#ba8ee2',
    500: '#985fd5',
    950: '#000000',
  },
}
SCSS
$custom: #985fd5;
$custom-light: #ba8ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#985fd5",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 268.983,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60091,
    "c": 0.1775,
    "h": 303.8
  },
  "luminance": 0.19664
}

Semantic roles & 50–950 ramp

primary
#985FD5
secondary
#C9DEB1
accent
#C61F76
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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