#985BBB#985BBB

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

Color values

HEX#985BBB
RGBrgb(152, 91, 187)
HSLhsl(278, 41%, 55%)
HSVhsv(278, 51%, 73%)
CMYKcmyk(18.7%, 51.3%, 0%, 26.7%)
CIE-LABlab(49.19, 42.17, -40.96)
CIE-LCHlch(49.19, 58.78, 315.84°)
OKLaboklab(57.95% 0.1024 -0.1144)
OKLCHoklch(57.95% 0.154 311.8)
XYZxyz(25.6580, 17.7460, 49.0778)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BBB #7EBB5B
analogous
#685BBB #985BBB #BB5BAE
triadic
#985BBB #BB985B #5BBB98
tetradic
#985BBB #BB685B #7EBB5B #5BAEBB
square
#985BBB #BB685B #7EBB5B #5BAEBB
split-complementary
#985BBB #AEBB5B #5BBB68
monochromatic
#572E6E #794099 #985BBB #B386CD #CEB2DF

Accessibility & contrast

On white

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

On black

4.55
#985BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##985BBB#FFFFFF#000000##FFFFFF
##985BBB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#5676B9
Tritanopia (blue-blind)
#946B82
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985bbb;
/* rgb */ color: rgb(152, 91, 187);
/* oklch */ color: oklch(58.0% 0.154 311.8);
Tailwind
colors: {
  custom: {
    50: '#b88bd0',
    500: '#985bbb',
    950: '#000000',
  },
}
SCSS
$custom: #985bbb;
$custom-light: #b88bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#985bbb",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 278.125,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57952,
    "c": 0.15353,
    "h": 311.8
  },
  "luminance": 0.17745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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