#985ABA#985ABA

#985ABA is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.154 H 312.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#985ABA
RGBrgb(152, 90, 186)
HSLhsl(279, 41%, 54%)
HSVhsv(279, 52%, 73%)
CMYKcmyk(18.3%, 51.6%, 0%, 27.1%)
CIE-LABlab(48.93, 42.49, -40.79)
CIE-LCHlch(48.93, 58.90, 316.17°)
OKLaboklab(57.74% 0.1037 -0.1139)
OKLCHoklch(57.74% 0.154 312.3)
XYZxyz(25.4664, 17.5335, 48.4876)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985ABA #7CBA5A
analogous
#685ABA #985ABA #BA5AAC
triadic
#985ABA #BA985A #5ABA98
tetradic
#985ABA #BA685A #7CBA5A #5AACBA
square
#985ABA #BA685A #7CBA5A #5AACBA
split-complementary
#985ABA #ACBA5A #5ABA68
monochromatic
#562D6C #783F97 #985ABA #B385CC #CEB0DE

Accessibility & contrast

On white

4.66
#985ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#985ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985ABA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985ABA#FFFFFF#000000##FFFFFF
##985ABA1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4271BD
Deuteranopia (green-blind)
#5576B7
Tritanopia (blue-blind)
#956A82
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985aba;
/* rgb */ color: rgb(152, 90, 186);
/* oklch */ color: oklch(57.7% 0.154 312.3);
Tailwind
colors: {
  custom: {
    50: '#b88bcf',
    500: '#985aba',
    950: '#000000',
  },
}
SCSS
$custom: #985aba;
$custom-light: #b88bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#985aba",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 278.75,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57742,
    "c": 0.15403,
    "h": 312.3
  },
  "luminance": 0.17533
}

Semantic roles & 50–950 ramp

primary
#985ABA
secondary
#B2CCA3
accent
#D15782
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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