#985CBB#985CBB

#985CBB is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.1% C 0.152 H 311.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#985CBB
RGBrgb(152, 92, 187)
HSLhsl(278, 41%, 55%)
HSVhsv(278, 51%, 73%)
CMYKcmyk(18.7%, 50.8%, 0%, 26.7%)
CIE-LABlab(49.40, 41.62, -40.62)
CIE-LCHlch(49.40, 58.16, 315.70°)
OKLaboklab(58.11% 0.101 -0.1134)
OKLCHoklch(58.11% 0.152 311.7)
XYZxyz(25.7441, 17.9181, 49.1064)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CBB #7FBB5C
analogous
#695CBB #985CBB #BB5CAF
triadic
#985CBB #BB985C #5CBB98
tetradic
#985CBB #BB695C #7FBB5C #5CAFBB
square
#985CBB #BB695C #7FBB5C #5CAFBB
split-complementary
#985CBB #AFBB5C #5CBB69
monochromatic
#572E6F #79409A #985CBB #B387CD #CFB2DF

Accessibility & contrast

On white

4.58
#985CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#985CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CBB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CBB#FFFFFF#000000##000000
##985CBB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BE
Deuteranopia (green-blind)
#5677B9
Tritanopia (blue-blind)
#946B83
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985cbb;
/* rgb */ color: rgb(152, 92, 187);
/* oklch */ color: oklch(58.1% 0.152 311.7);
Tailwind
colors: {
  custom: {
    50: '#b88cd0',
    500: '#985cbb',
    950: '#000000',
  },
}
SCSS
$custom: #985cbb;
$custom-light: #b88cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#985cbb",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 277.895,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58108,
    "c": 0.15188,
    "h": 311.7
  },
  "luminance": 0.17918
}

Semantic roles & 50–950 ramp

primary
#985CBB
secondary
#B4CDA5
accent
#D15784
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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