#985BBA#985BBA

#985BBA is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.9% C 0.152 H 312.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#985BBA
RGBrgb(152, 91, 186)
HSLhsl(279, 41%, 54%)
HSVhsv(279, 51%, 73%)
CMYKcmyk(18.3%, 51.1%, 0%, 27.1%)
CIE-LABlab(49.13, 41.95, -40.46)
CIE-LCHlch(49.13, 58.28, 316.03°)
OKLaboklab(57.9% 0.1023 -0.1129)
OKLCHoklch(57.9% 0.152 312.2)
XYZxyz(25.5514, 17.7033, 48.5159)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BBA #7DBA5B
analogous
#695BBA #985BBA #BA5BAD
triadic
#985BBA #BA985B #5BBA98
tetradic
#985BBA #BA695B #7DBA5B #5BADBA
square
#985BBA #BA695B #7DBA5B #5BADBA
split-complementary
#985BBA #ADBA5B #5BBA69
monochromatic
#562E6D #784098 #985BBA #B386CC #CEB1DE

Accessibility & contrast

On white

4.62
#985BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#985BBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985BBA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BBA#FFFFFF#000000##FFFFFF
##985BBA1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#956A82
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985bba;
/* rgb */ color: rgb(152, 91, 186);
/* oklch */ color: oklch(57.9% 0.152 312.2);
Tailwind
colors: {
  custom: {
    50: '#b88bcf',
    500: '#985bba',
    950: '#000000',
  },
}
SCSS
$custom: #985bba;
$custom-light: #b88bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#985bba",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 186
  },
  "hsl": {
    "h": 278.526,
    "s": 40.773,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57897,
    "c": 0.15239,
    "h": 312.2
  },
  "luminance": 0.17703
}

Semantic roles & 50–950 ramp

primary
#985BBA
secondary
#B3CDA4
accent
#D15783
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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