#985DCC#985DCC

#985DCC is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.2% C 0.170 H 306.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#985DCC
RGBrgb(152, 93, 204)
HSLhsl(272, 52%, 58%)
HSVhsv(272, 54%, 80%)
CMYKcmyk(25.5%, 54.4%, 0%, 20%)
CIE-LABlab(50.53, 44.98, -48.62)
CIE-LCHlch(50.53, 66.24, 312.77°)
OKLaboklab(59.24% 0.101 -0.1367)
OKLCHoklch(59.24% 0.17 306.5)
XYZxyz(27.7601, 18.8640, 59.2937)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DCC #91CC5D
analogous
#605DCC #985DCC #CC5DC8
triadic
#985DCC #CC985D #5DCC98
tetradic
#985DCC #CC605D #91CC5D #5DC8CC
square
#985DCC #CC605D #91CC5D #5DC8CC
split-complementary
#985DCC #C8CC5D #5DCC60
monochromatic
#5A2A85 #7A38B3 #985DCC #B68CDB #D3BAE9

Accessibility & contrast

On white

4.40
#985DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#985DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DCC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DCC#FFFFFF#000000##000000
##985DCC1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3876D0
Deuteranopia (green-blind)
#4C79C9
Tritanopia (blue-blind)
#90718C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985dcc;
/* rgb */ color: rgb(152, 93, 204);
/* oklch */ color: oklch(59.2% 0.170 306.5);
Tailwind
colors: {
  custom: {
    50: '#b98ddc',
    500: '#985dcc',
    950: '#000000',
  },
}
SCSS
$custom: #985dcc;
$custom-light: #b98ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#985dcc",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 271.892,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59243,
    "c": 0.17002,
    "h": 306.5
  },
  "luminance": 0.18864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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