#985CB9#985CB9

#985CB9 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.0% C 0.150 H 312.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#985CB9
RGBrgb(152, 92, 185)
HSLhsl(279, 40%, 54%)
HSVhsv(279, 50%, 73%)
CMYKcmyk(17.8%, 50.3%, 0%, 27.5%)
CIE-LABlab(49.29, 41.18, -39.63)
CIE-LCHlch(49.29, 57.15, 316.10°)
OKLaboklab(58% 0.1008 -0.1105)
OKLCHoklch(58% 0.15 312.4)
XYZxyz(25.5315, 17.8330, 47.9867)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CB9 #7DB95C
analogous
#6A5CB9 #985CB9 #B95CAB
triadic
#985CB9 #B9985C #5CB998
tetradic
#985CB9 #B96A5C #7DB95C #5CABB9
square
#985CB9 #B96A5C #7DB95C #5CABB9
split-complementary
#985CB9 #ABB95C #5CB96A
monochromatic
#562E6C #784197 #985CB9 #B387CB #CEB2DE

Accessibility & contrast

On white

4.60
#985CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#985CB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985CB9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CB9#FFFFFF#000000##FFFFFF
##985CB91.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4672BC
Deuteranopia (green-blind)
#5877B7
Tritanopia (blue-blind)
#956B82
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985cb9;
/* rgb */ color: rgb(152, 92, 185);
/* oklch */ color: oklch(58.0% 0.150 312.4);
Tailwind
colors: {
  custom: {
    50: '#b88cce',
    500: '#985cb9',
    950: '#000000',
  },
}
SCSS
$custom: #985cb9;
$custom-light: #b88cce;
$custom-dark: #000000;
JSON
{
  "hex": "#985cb9",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 185
  },
  "hsl": {
    "h": 278.71,
    "s": 39.914,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57997,
    "c": 0.14959,
    "h": 312.4
  },
  "luminance": 0.17832
}

Semantic roles & 50–950 ramp

primary
#985CB9
secondary
#B3CCA5
accent
#D05883
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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