#985BB8#985BB8

#985BB8 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.150 H 312.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#985BB8
RGBrgb(152, 91, 184)
HSLhsl(279, 40%, 54%)
HSVhsv(279, 51%, 72%)
CMYKcmyk(17.4%, 50.5%, 0%, 27.8%)
CIE-LABlab(49.03, 41.50, -39.46)
CIE-LCHlch(49.03, 57.27, 316.44°)
OKLaboklab(57.79% 0.1021 -0.11)
OKLCHoklch(57.79% 0.15 312.9)
XYZxyz(25.3402, 17.6189, 47.4040)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BB8 #7BB85B
analogous
#6A5BB8 #985BB8 #B85BAA
triadic
#985BB8 #B8985B #5BB898
tetradic
#985BB8 #B86A5B #7BB85B #5BAAB8
square
#985BB8 #B86A5B #7BB85B #5BAAB8
split-complementary
#985BB8 #AAB85B #5BB86A
monochromatic
#562E6A #784195 #985BB8 #B386CA #CEB0DD

Accessibility & contrast

On white

4.64
#985BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#985BB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985BB8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BB8#FFFFFF#000000##FFFFFF
##985BB81.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4571BB
Deuteranopia (green-blind)
#5776B6
Tritanopia (blue-blind)
#956A81
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985bb8;
/* rgb */ color: rgb(152, 91, 184);
/* oklch */ color: oklch(57.8% 0.150 312.9);
Tailwind
colors: {
  custom: {
    50: '#b88bce',
    500: '#985bb8',
    950: '#000000',
  },
}
SCSS
$custom: #985bb8;
$custom-light: #b88bce;
$custom-dark: #000000;
JSON
{
  "hex": "#985bb8",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 184
  },
  "hsl": {
    "h": 279.355,
    "s": 39.574,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57786,
    "c": 0.1501,
    "h": 312.9
  },
  "luminance": 0.17618
}

Semantic roles & 50–950 ramp

primary
#985BB8
secondary
#B1CBA4
accent
#CF5881
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #985BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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