#985BBE#985BBE

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

Color values

HEX#985BBE
RGBrgb(152, 91, 190)
HSLhsl(277, 43%, 55%)
HSVhsv(277, 52%, 75%)
CMYKcmyk(20%, 52.1%, 0%, 25.5%)
CIE-LABlab(49.35, 42.84, -42.44)
CIE-LCHlch(49.35, 60.31, 315.27°)
OKLaboklab(58.12% 0.1027 -0.1187)
OKLCHoklch(58.12% 0.157 310.9)
XYZxyz(25.9825, 17.8758, 50.7868)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BBE #81BE5B
analogous
#675BBE #985BBE #BE5BB2
triadic
#985BBE #BE985B #5BBE98
tetradic
#985BBE #BE675B #81BE5B #5BB2BE
square
#985BBE #BE675B #81BE5B #5BB2BE
split-complementary
#985BBE #B2BE5B #5BBE67
monochromatic
#572D72 #793E9D #985BBE #B487CF #CFB3E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985BBE#FFFFFF#000000##FFFFFF
##985BBE1.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)
#4172C1
Deuteranopia (green-blind)
#5476BB
Tritanopia (blue-blind)
#946C84
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985bbe;
/* rgb */ color: rgb(152, 91, 190);
/* oklch */ color: oklch(58.1% 0.157 310.9);
Tailwind
colors: {
  custom: {
    50: '#b98bd2',
    500: '#985bbe',
    950: '#000000',
  },
}
SCSS
$custom: #985bbe;
$custom-light: #b98bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#985bbe",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 276.97,
    "s": 43.231,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58121,
    "c": 0.15697,
    "h": 310.9
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#985BBE
secondary
#B6CFA6
accent
#D35585
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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