#985DC9#985DC9

#985DC9 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.167 H 307.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#985DC9
RGBrgb(152, 93, 201)
HSLhsl(273, 50%, 58%)
HSVhsv(273, 54%, 79%)
CMYKcmyk(24.4%, 53.7%, 0%, 21.2%)
CIE-LABlab(50.36, 44.28, -47.17)
CIE-LCHlch(50.36, 64.70, 313.19°)
OKLaboklab(59.06% 0.1009 -0.1325)
OKLCHoklch(59.06% 0.167 307.3)
XYZxyz(27.4037, 18.7215, 57.4170)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DC9 #8EC95D
analogous
#625DC9 #985DC9 #C95DC4
triadic
#985DC9 #C9985D #5DC998
tetradic
#985DC9 #C9625D #8EC95D #5DC4C9
square
#985DC9 #C9625D #8EC95D #5DC4C9
split-complementary
#985DC9 #C4C95D #5DC962
monochromatic
#5A2B81 #7A3AAF #985DC9 #B58BD8 #D2B9E8

Accessibility & contrast

On white

4.43
#985DC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#985DC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DC9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DC9#FFFFFF#000000##000000
##985DC91.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B76CD
Deuteranopia (green-blind)
#4E78C6
Tritanopia (blue-blind)
#91708A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985dc9;
/* rgb */ color: rgb(152, 93, 201);
/* oklch */ color: oklch(59.1% 0.167 307.3);
Tailwind
colors: {
  custom: {
    50: '#b98dda',
    500: '#985dc9',
    950: '#000000',
  },
}
SCSS
$custom: #985dc9;
$custom-light: #b98dda;
$custom-dark: #000000;
JSON
{
  "hex": "#985dc9",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 201
  },
  "hsl": {
    "h": 272.778,
    "s": 50,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59064,
    "c": 0.16651,
    "h": 307.3
  },
  "luminance": 0.18721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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