#985EC1#985EC1

#985EC1 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.8% C 0.156 H 309.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#985EC1
RGBrgb(152, 94, 193)
HSLhsl(275, 44%, 56%)
HSVhsv(275, 51%, 76%)
CMYKcmyk(21.2%, 51.3%, 0%, 24.3%)
CIE-LABlab(50.13, 41.89, -42.92)
CIE-LCHlch(50.13, 59.98, 314.30°)
OKLaboklab(58.76% 0.0989 -0.1201)
OKLCHoklch(58.76% 0.156 309.5)
XYZxyz(26.5754, 18.5315, 52.6187)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EC1 #87C15E
analogous
#675EC1 #985EC1 #C15EB9
triadic
#985EC1 #C1985E #5EC198
tetradic
#985EC1 #C1675E #87C15E #5EB9C1
square
#985EC1 #C1675E #87C15E #5EB9C1
split-complementary
#985EC1 #B9C15E #5EC167
monochromatic
#592E77 #7A3FA3 #985EC1 #B48AD2 #D1B6E3

Accessibility & contrast

On white

4.46
#985EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#985EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EC1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EC1#FFFFFF#000000##000000
##985EC11.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4375C4
Deuteranopia (green-blind)
#5578BE
Tritanopia (blue-blind)
#936F87
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985ec1;
/* rgb */ color: rgb(152, 94, 193);
/* oklch */ color: oklch(58.8% 0.156 309.5);
Tailwind
colors: {
  custom: {
    50: '#b88dd4',
    500: '#985ec1',
    950: '#000000',
  },
}
SCSS
$custom: #985ec1;
$custom-light: #b88dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#985ec1",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 275.152,
    "s": 44.395,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58757,
    "c": 0.15558,
    "h": 309.5
  },
  "luminance": 0.18531
}

Semantic roles & 50–950 ramp

primary
#985EC1
secondary
#BAD2A9
accent
#D45489
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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