#985BBD#985BBD

#985BBD is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.156 H 311.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#985BBD
RGBrgb(152, 91, 189)
HSLhsl(277, 43%, 55%)
HSVhsv(277, 52%, 74%)
CMYKcmyk(19.6%, 51.9%, 0%, 25.9%)
CIE-LABlab(49.29, 42.62, -41.95)
CIE-LCHlch(49.29, 59.80, 315.45°)
OKLaboklab(58.07% 0.1026 -0.1173)
OKLCHoklch(58.07% 0.156 311.2)
XYZxyz(25.8736, 17.8322, 50.2132)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BBD #80BD5B
analogous
#675BBD #985BBD #BD5BB1
triadic
#985BBD #BD985B #5BBD98
tetradic
#985BBD #BD675B #80BD5B #5BB1BD
square
#985BBD #BD675B #80BD5B #5BB1BD
split-complementary
#985BBD #B1BD5B #5BBD67
monochromatic
#572D70 #793F9C #985BBD #B387CF #CFB2E0

Accessibility & contrast

On white

4.60
#985BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#985BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985BBD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BBD#FFFFFF#000000##FFFFFF
##985BBD1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4272C0
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#946B83
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985bbd;
/* rgb */ color: rgb(152, 91, 189);
/* oklch */ color: oklch(58.1% 0.156 311.2);
Tailwind
colors: {
  custom: {
    50: '#b88bd1',
    500: '#985bbd',
    950: '#000000',
  },
}
SCSS
$custom: #985bbd;
$custom-light: #b88bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#985bbd",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 277.347,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58065,
    "c": 0.15582,
    "h": 311.2
  },
  "luminance": 0.17832
}

Semantic roles & 50–950 ramp

primary
#985BBD
secondary
#B5CFA5
accent
#D25585
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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