#985FBE#985FBE

#985FBE is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.7% C 0.150 H 310.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#985FBE
RGBrgb(152, 95, 190)
HSLhsl(276, 42%, 56%)
HSVhsv(276, 50%, 75%)
CMYKcmyk(20%, 50%, 0%, 25.5%)
CIE-LABlab(50.19, 40.66, -41.10)
CIE-LCHlch(50.19, 57.81, 314.69°)
OKLaboklab(58.75% 0.0972 -0.1148)
OKLCHoklch(58.75% 0.15 310.2)
XYZxyz(26.3336, 18.5780, 50.9039)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FBE #85BE5F
analogous
#685FBE #985FBE #BE5FB4
triadic
#985FBE #BE985F #5FBE98
tetradic
#985FBE #BE685F #85BE5F #5FB4BE
square
#985FBE #BE685F #85BE5F #5FB4BE
split-complementary
#985FBE #B4BE5F #5FBE68
monochromatic
#582F74 #79419F #985FBE #B48BD0 #D0B6E1

Accessibility & contrast

On white

4.45
#985FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#985FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FBE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FBE#FFFFFF#000000##000000
##985FBE1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4775C1
Deuteranopia (green-blind)
#5778BC
Tritanopia (blue-blind)
#936F86
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985fbe;
/* rgb */ color: rgb(152, 95, 190);
/* oklch */ color: oklch(58.7% 0.150 310.2);
Tailwind
colors: {
  custom: {
    50: '#b88ed2',
    500: '#985fbe',
    950: '#000000',
  },
}
SCSS
$custom: #985fbe;
$custom-light: #b88ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#985fbe",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 276,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58747,
    "c": 0.15043,
    "h": 310.2
  },
  "luminance": 0.18578
}

Semantic roles & 50–950 ramp

primary
#985FBE
secondary
#B8D0A9
accent
#D25687
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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