#985CC9#985CC9

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

Color values

HEX#985CC9
RGBrgb(152, 92, 201)
HSLhsl(273, 50%, 57%)
HSVhsv(273, 54%, 79%)
CMYKcmyk(24.4%, 54.2%, 0%, 21.2%)
CIE-LABlab(50.15, 44.82, -47.50)
CIE-LCHlch(50.15, 65.31, 313.34°)
OKLaboklab(58.91% 0.1022 -0.1335)
OKLCHoklch(58.91% 0.168 307.4)
XYZxyz(27.3165, 18.5471, 57.3879)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CC9 #8DC95C
analogous
#625CC9 #985CC9 #C95CC3
triadic
#985CC9 #C9985C #5CC998
tetradic
#985CC9 #C9625C #8DC95C #5CC3C9
square
#985CC9 #C9625C #8DC95C #5CC3C9
split-complementary
#985CC9 #C3C95C #5CC962
monochromatic
#5A2A80 #7A3AAE #985CC9 #B58AD8 #D2B8E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985CC9#FFFFFF#000000##000000
##985CC91.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)
#3975CD
Deuteranopia (green-blind)
#4D78C6
Tritanopia (blue-blind)
#91708A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985cc9;
/* rgb */ color: rgb(152, 92, 201);
/* oklch */ color: oklch(58.9% 0.168 307.4);
Tailwind
colors: {
  custom: {
    50: '#b98cda',
    500: '#985cc9',
    950: '#000000',
  },
}
SCSS
$custom: #985cc9;
$custom-light: #b98cda;
$custom-dark: #000000;
JSON
{
  "hex": "#985cc9",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 201
  },
  "hsl": {
    "h": 273.028,
    "s": 50.23,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58912,
    "c": 0.16808,
    "h": 307.4
  },
  "luminance": 0.18547
}

Semantic roles & 50–950 ramp

primary
#985CC9
secondary
#BED6AA
accent
#DA4E8D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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