#985CD1#985CD1

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

Color values

HEX#985CD1
RGBrgb(152, 92, 209)
HSLhsl(271, 56%, 59%)
HSVhsv(271, 56%, 82%)
CMYKcmyk(27.3%, 56%, 0%, 18%)
CIE-LABlab(50.61, 46.70, -51.35)
CIE-LCHlch(50.61, 69.41, 312.28°)
OKLaboklab(59.4% 0.1025 -0.1447)
OKLCHoklch(59.4% 0.177 305.3)
XYZxyz(28.2822, 18.9333, 62.4738)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CD1 #95D15C
analogous
#5E5CD1 #985CD1 #D15CD0
triadic
#985CD1 #D1985C #5CD198
tetradic
#985CD1 #D15E5C #95D15C #5CD0D1
square
#985CD1 #D15E5C #95D15C #5CD0D1
split-complementary
#985CD1 #D0D15C #5CD15E
monochromatic
#5B278B #7A35BB #985CD1 #B68CDE #D4BBEC

Accessibility & contrast

On white

4.39
#985CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##985CD1#FFFFFF#000000##000000
##985CD11.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3077D5
Deuteranopia (green-blind)
#4679CE
Tritanopia (blue-blind)
#8E728E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985cd1;
/* rgb */ color: rgb(152, 92, 209);
/* oklch */ color: oklch(59.4% 0.177 305.3);
Tailwind
colors: {
  custom: {
    50: '#b98ce0',
    500: '#985cd1',
    950: '#000000',
  },
}
SCSS
$custom: #985cd1;
$custom-light: #b98ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#985cd1",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 270.769,
    "s": 55.981,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59395,
    "c": 0.17736,
    "h": 305.3
  },
  "luminance": 0.18933
}

Semantic roles & 50–950 ramp

primary
#985CD1
secondary
#C4DBAD
accent
#DF4992
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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