#985DCD#985DCD

#985DCD is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.3% C 0.171 H 306.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#985DCD
RGBrgb(152, 93, 205)
HSLhsl(272, 53%, 58%)
HSVhsv(272, 55%, 80%)
CMYKcmyk(25.9%, 54.6%, 0%, 19.6%)
CIE-LABlab(50.58, 45.22, -49.10)
CIE-LCHlch(50.58, 66.75, 312.64°)
OKLaboklab(59.3% 0.1011 -0.1382)
OKLCHoklch(59.3% 0.171 306.2)
XYZxyz(27.8804, 18.9121, 59.9274)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DCD #92CD5D
analogous
#605DCD #985DCD #CD5DCA
triadic
#985DCD #CD985D #5DCD98
tetradic
#985DCD #CD605D #92CD5D #5DCACD
square
#985DCD #CD605D #92CD5D #5DCACD
split-complementary
#985DCD #CACD5D #5DCD60
monochromatic
#5A2986 #7A38B5 #985DCD #B68CDB #D3BBEA

Accessibility & contrast

On white

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

On black

4.78
#985DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DCD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DCD#FFFFFF#000000##000000
##985DCD1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776D1
Deuteranopia (green-blind)
#4B79CA
Tritanopia (blue-blind)
#8F728C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985dcd;
/* rgb */ color: rgb(152, 93, 205);
/* oklch */ color: oklch(59.3% 0.171 306.2);
Tailwind
colors: {
  custom: {
    50: '#b98ddd',
    500: '#985dcd',
    950: '#000000',
  },
}
SCSS
$custom: #985dcd;
$custom-light: #b98ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#985dcd",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 271.607,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59302,
    "c": 0.17118,
    "h": 306.2
  },
  "luminance": 0.18912
}

Semantic roles & 50–950 ramp

primary
#985DCD
secondary
#C2D9AD
accent
#DC4C90
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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