#985FD1#985FD1

#985FD1 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.8% C 0.173 H 304.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#985FD1
RGBrgb(152, 95, 209)
HSLhsl(270, 55%, 60%)
HSVhsv(270, 55%, 82%)
CMYKcmyk(27.3%, 54.5%, 0%, 18%)
CIE-LABlab(51.23, 45.08, -50.36)
CIE-LCHlch(51.23, 67.59, 311.83°)
OKLaboklab(59.85% 0.0987 -0.1419)
OKLCHoklch(59.85% 0.173 304.8)
XYZxyz(28.5472, 19.4634, 62.5621)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FD1 #98D15F
analogous
#5F5FD1 #985FD1 #D15FD1
triadic
#985FD1 #D1985F #5FD198
tetradic
#985FD1 #D15F5F #98D15F #5FD1D1
square
#985FD1 #D15F5F #98D15F #5FD1D1
split-complementary
#985FD1 #D1D15F #5FD15F
monochromatic
#5B298D #7936BD #985FD1 #B78FDF #D5BEEC

Accessibility & contrast

On white

4.29
#985FD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#985FD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FD1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FD1#FFFFFF#000000##000000
##985FD11.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3778D5
Deuteranopia (green-blind)
#4A7ACE
Tritanopia (blue-blind)
#8E748F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985fd1;
/* rgb */ color: rgb(152, 95, 209);
/* oklch */ color: oklch(59.8% 0.173 304.8);
Tailwind
colors: {
  custom: {
    50: '#b98ee0',
    500: '#985fd1',
    950: '#000000',
  },
}
SCSS
$custom: #985fd1;
$custom-light: #b98ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#985fd1",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 209
  },
  "hsl": {
    "h": 270,
    "s": 55.34,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59848,
    "c": 0.17279,
    "h": 304.8
  },
  "luminance": 0.19463
}

Semantic roles & 50–950 ramp

primary
#985FD1
secondary
#C6DCB0
accent
#DF4994
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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