#985EC6#985EC6

#985EC6 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.0% C 0.161 H 308.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#985EC6
RGBrgb(152, 94, 198)
HSLhsl(273, 48%, 57%)
HSVhsv(273, 53%, 78%)
CMYKcmyk(23.2%, 52.5%, 0%, 22.4%)
CIE-LABlab(50.40, 43.04, -45.38)
CIE-LCHlch(50.40, 62.54, 313.49°)
OKLaboklab(59.04% 0.0993 -0.1273)
OKLCHoklch(59.04% 0.161 308)
XYZxyz(27.1426, 18.7584, 55.6060)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EC6 #8CC65E
analogous
#645EC6 #985EC6 #C65EC0
triadic
#985EC6 #C6985E #5EC698
tetradic
#985EC6 #C6645E #8CC65E #5EC0C6
square
#985EC6 #C6645E #8CC65E #5EC0C6
split-complementary
#985EC6 #C0C65E #5EC664
monochromatic
#592C7D #7A3CAA #985EC6 #B58BD6 #D2B8E6

Accessibility & contrast

On white

4.42
#985EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#985EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EC6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EC6#FFFFFF#000000##000000
##985EC61.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F76CA
Deuteranopia (green-blind)
#5179C3
Tritanopia (blue-blind)
#917089
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985ec6;
/* rgb */ color: rgb(152, 94, 198);
/* oklch */ color: oklch(59.0% 0.161 308.0);
Tailwind
colors: {
  custom: {
    50: '#b98dd8',
    500: '#985ec6',
    950: '#000000',
  },
}
SCSS
$custom: #985ec6;
$custom-light: #b98dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#985ec6",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 198
  },
  "hsl": {
    "h": 273.462,
    "s": 47.706,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59043,
    "c": 0.16143,
    "h": 308
  },
  "luminance": 0.18758
}

Semantic roles & 50–950 ramp

primary
#985EC6
secondary
#BDD5AB
accent
#D7508C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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