#985CCD#985CCD

#985CCD is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.2% C 0.173 H 306.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#985CCD
RGBrgb(152, 92, 205)
HSLhsl(272, 53%, 58%)
HSVhsv(272, 55%, 80%)
CMYKcmyk(25.9%, 55.1%, 0%, 19.6%)
CIE-LABlab(50.38, 45.76, -49.43)
CIE-LCHlch(50.38, 67.36, 312.79°)
OKLaboklab(59.15% 0.1024 -0.1391)
OKLCHoklch(59.15% 0.173 306.3)
XYZxyz(27.7932, 18.7377, 59.8983)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CCD #91CD5C
analogous
#5F5CCD #985CCD #CD5CCA
triadic
#985CCD #CD985C #5CCD98
tetradic
#985CCD #CD5F5C #91CD5C #5CCACD
square
#985CCD #CD5F5C #91CD5C #5CCACD
split-complementary
#985CCD #CACD5C #5CCD5F
monochromatic
#5A2986 #7A37B4 #985CCD #B68BDB #D3BAEA

Accessibility & contrast

On white

4.42
#985CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#985CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CCD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CCD#FFFFFF#000000##000000
##985CCD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#90718C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985ccd;
/* rgb */ color: rgb(152, 92, 205);
/* oklch */ color: oklch(59.2% 0.173 306.3);
Tailwind
colors: {
  custom: {
    50: '#b98cdd',
    500: '#985ccd',
    950: '#000000',
  },
}
SCSS
$custom: #985ccd;
$custom-light: #b98cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#985ccd",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 271.858,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59151,
    "c": 0.17272,
    "h": 306.3
  },
  "luminance": 0.18737
}

Semantic roles & 50–950 ramp

primary
#985CCD
secondary
#C1D9AC
accent
#DC4B8F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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