#985FC9#985FC9

#985FC9 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.4% C 0.163 H 306.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#985FC9
RGBrgb(152, 95, 201)
HSLhsl(272, 50%, 58%)
HSVhsv(272, 53%, 79%)
CMYKcmyk(24.4%, 52.7%, 0%, 21.2%)
CIE-LABlab(50.78, 43.19, -46.50)
CIE-LCHlch(50.78, 63.47, 312.89°)
OKLaboklab(59.37% 0.0982 -0.1306)
OKLCHoklch(59.37% 0.163 306.9)
XYZxyz(27.5816, 19.0771, 57.4763)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FC9 #90C95F
analogous
#635FC9 #985FC9 #C95FC5
triadic
#985FC9 #C9985F #5FC998
tetradic
#985FC9 #C9635F #90C95F #5FC5C9
square
#985FC9 #C9635F #90C95F #5FC5C9
split-complementary
#985FC9 #C5C95F #5FC963
monochromatic
#5A2C82 #7A3BB0 #985FC9 #B58DD8 #D3BBE8

Accessibility & contrast

On white

4.36
#985FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#985FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FC9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FC9#FFFFFF#000000##000000
##985FC91.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E77CD
Deuteranopia (green-blind)
#5079C6
Tritanopia (blue-blind)
#91728B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985fc9;
/* rgb */ color: rgb(152, 95, 201);
/* oklch */ color: oklch(59.4% 0.163 306.9);
Tailwind
colors: {
  custom: {
    50: '#b98eda',
    500: '#985fc9',
    950: '#000000',
  },
}
SCSS
$custom: #985fc9;
$custom-light: #b98eda;
$custom-dark: #000000;
JSON
{
  "hex": "#985fc9",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 272.264,
    "s": 49.533,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59373,
    "c": 0.16336,
    "h": 306.9
  },
  "luminance": 0.19077
}

Semantic roles & 50–950 ramp

primary
#985FC9
secondary
#C0D7AD
accent
#D94F8F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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