#985FC6#985FC6

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

Color values

HEX#985FC6
RGBrgb(152, 95, 198)
HSLhsl(273, 47%, 57%)
HSVhsv(273, 52%, 78%)
CMYKcmyk(23.2%, 52%, 0%, 22.4%)
CIE-LABlab(50.61, 42.49, -45.04)
CIE-LCHlch(50.61, 61.92, 313.33°)
OKLaboklab(59.2% 0.098 -0.1263)
OKLCHoklch(59.2% 0.16 307.8)
XYZxyz(27.2321, 18.9374, 55.6358)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FC6 #8DC65F
analogous
#655FC6 #985FC6 #C65FC0
triadic
#985FC6 #C6985F #5FC698
tetradic
#985FC6 #C6655F #8DC65F #5FC0C6
square
#985FC6 #C6655F #8DC65F #5FC0C6
split-complementary
#985FC6 #C0C65F #5FC665
monochromatic
#5A2D7E #7A3DAB #985FC6 #B58CD6 #D2B9E6

Accessibility & contrast

On white

4.39
#985FC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##985FC6#FFFFFF#000000##000000
##985FC61.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4176CA
Deuteranopia (green-blind)
#5279C3
Tritanopia (blue-blind)
#91718A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985fc6;
/* rgb */ color: rgb(152, 95, 198);
/* oklch */ color: oklch(59.2% 0.160 307.8);
Tailwind
colors: {
  custom: {
    50: '#b98ed8',
    500: '#985fc6',
    950: '#000000',
  },
}
SCSS
$custom: #985fc6;
$custom-light: #b98ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#985fc6",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 198
  },
  "hsl": {
    "h": 273.204,
    "s": 47.465,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59199,
    "c": 0.15983,
    "h": 307.8
  },
  "luminance": 0.18937
}

Semantic roles & 50–950 ramp

primary
#985FC6
secondary
#BED5AC
accent
#D7518D
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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