#985CBA#985CBA

#985CBA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.1% C 0.151 H 312.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#985CBA
RGBrgb(152, 92, 186)
HSLhsl(278, 41%, 55%)
HSVhsv(278, 51%, 73%)
CMYKcmyk(18.3%, 50.5%, 0%, 27.1%)
CIE-LABlab(49.34, 41.40, -40.13)
CIE-LCHlch(49.34, 57.65, 315.90°)
OKLaboklab(58.05% 0.1009 -0.112)
OKLCHoklch(58.05% 0.151 312)
XYZxyz(25.6374, 17.8754, 48.5446)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CBA #7EBA5C
analogous
#695CBA #985CBA #BA5CAD
triadic
#985CBA #BA985C #5CBA98
tetradic
#985CBA #BA695C #7EBA5C #5CADBA
square
#985CBA #BA695C #7EBA5C #5CADBA
split-complementary
#985CBA #ADBA5C #5CBA69
monochromatic
#572E6D #794098 #985CBA #B387CC #CEB2DE

Accessibility & contrast

On white

4.59
#985CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #985CBA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CBA#FFFFFF#000000##FFFFFF
##985CBA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4572BD
Deuteranopia (green-blind)
#5777B8
Tritanopia (blue-blind)
#946B82
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985cba;
/* rgb */ color: rgb(152, 92, 186);
/* oklch */ color: oklch(58.1% 0.151 312.0);
Tailwind
colors: {
  custom: {
    50: '#b88ccf',
    500: '#985cba',
    950: '#000000',
  },
}
SCSS
$custom: #985cba;
$custom-light: #b88ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#985cba",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 186
  },
  "hsl": {
    "h": 278.298,
    "s": 40.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58052,
    "c": 0.15074,
    "h": 312
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#985CBA
secondary
#B3CDA5
accent
#D05783
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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