#985DCE#985DCE

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

Color values

HEX#985DCE
RGBrgb(152, 93, 206)
HSLhsl(271, 54%, 59%)
HSVhsv(271, 55%, 81%)
CMYKcmyk(26.2%, 54.9%, 0%, 19.2%)
CIE-LABlab(50.64, 45.45, -49.58)
CIE-LCHlch(50.64, 67.26, 312.51°)
OKLaboklab(59.36% 0.1011 -0.1396)
OKLCHoklch(59.36% 0.172 305.9)
XYZxyz(28.0015, 18.9606, 60.5652)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DCE #93CE5D
analogous
#5F5DCE #985DCE #CE5DCC
triadic
#985DCE #CE985D #5DCE98
tetradic
#985DCE #CE5F5D #93CE5D #5DCCCE
square
#985DCE #CE5F5D #93CE5D #5DCCCE
split-complementary
#985DCE #CCCE5D #5DCE5F
monochromatic
#5A2988 #7A37B7 #985DCE #B68CDC #D4BBEA

Accessibility & contrast

On white

4.38
#985DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##985DCE#FFFFFF#000000##000000
##985DCE1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3677D2
Deuteranopia (green-blind)
#4A79CB
Tritanopia (blue-blind)
#8F728D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985dce;
/* rgb */ color: rgb(152, 93, 206);
/* oklch */ color: oklch(59.4% 0.172 305.9);
Tailwind
colors: {
  custom: {
    50: '#b98ddd',
    500: '#985dce',
    950: '#000000',
  },
}
SCSS
$custom: #985dce;
$custom-light: #b98ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#985dce",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 271.327,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59363,
    "c": 0.17235,
    "h": 305.9
  },
  "luminance": 0.1896
}

Semantic roles & 50–950 ramp

primary
#985DCE
secondary
#C2DAAD
accent
#DD4B91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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