#985DC1#985DC1

#985DC1 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.6% C 0.157 H 309.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#985DC1
RGBrgb(152, 93, 193)
HSLhsl(275, 45%, 56%)
HSVhsv(275, 52%, 76%)
CMYKcmyk(21.2%, 51.8%, 0%, 24.3%)
CIE-LABlab(49.92, 42.44, -43.26)
CIE-LCHlch(49.92, 60.60, 314.45°)
OKLaboklab(58.6% 0.1002 -0.1211)
OKLCHoklch(58.6% 0.157 309.6)
XYZxyz(26.4871, 18.3548, 52.5892)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DC1 #86C15D
analogous
#665DC1 #985DC1 #C15DB8
triadic
#985DC1 #C1985D #5DC198
tetradic
#985DC1 #C1665D #86C15D #5DB8C1
square
#985DC1 #C1665D #86C15D #5DB8C1
split-complementary
#985DC1 #B8C15D #5DC166
monochromatic
#582D76 #793EA3 #985DC1 #B489D2 #D0B6E3

Accessibility & contrast

On white

4.50
#985DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#985DC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DC1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DC1#FFFFFF#000000##000000
##985DC11.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4274C4
Deuteranopia (green-blind)
#5478BE
Tritanopia (blue-blind)
#936E86
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985dc1;
/* rgb */ color: rgb(152, 93, 193);
/* oklch */ color: oklch(58.6% 0.157 309.6);
Tailwind
colors: {
  custom: {
    50: '#b98dd4',
    500: '#985dc1',
    950: '#000000',
  },
}
SCSS
$custom: #985dc1;
$custom-light: #b98dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#985dc1",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 193
  },
  "hsl": {
    "h": 275.4,
    "s": 44.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58601,
    "c": 0.1572,
    "h": 309.6
  },
  "luminance": 0.18354
}

Semantic roles & 50–950 ramp

primary
#985DC1
secondary
#B9D2A8
accent
#D45388
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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