#985BBF#985BBF

#985BBF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.158 H 310.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#985BBF
RGBrgb(152, 91, 191)
HSLhsl(277, 44%, 55%)
HSVhsv(277, 52%, 75%)
CMYKcmyk(20.4%, 52.4%, 0%, 25.1%)
CIE-LABlab(49.40, 43.07, -42.94)
CIE-LCHlch(49.40, 60.81, 315.09°)
OKLaboklab(58.18% 0.1028 -0.1201)
OKLCHoklch(58.18% 0.158 310.6)
XYZxyz(26.0922, 17.9196, 51.3644)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BBF #82BF5B
analogous
#665BBF #985BBF #BF5BB4
triadic
#985BBF #BF985B #5BBF98
tetradic
#985BBF #BF665B #82BF5B #5BB4BF
square
#985BBF #BF665B #82BF5B #5BB4BF
split-complementary
#985BBF #B4BF5B #5BBF66
monochromatic
#572D73 #793E9F #985BBF #B487D0 #CFB3E1

Accessibility & contrast

On white

4.58
#985BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #985BBF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BBF#FFFFFF#000000##000000
##985BBF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4073C2
Deuteranopia (green-blind)
#5377BC
Tritanopia (blue-blind)
#936C84
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985bbf;
/* rgb */ color: rgb(152, 91, 191);
/* oklch */ color: oklch(58.2% 0.158 310.6);
Tailwind
colors: {
  custom: {
    50: '#b98bd3',
    500: '#985bbf',
    950: '#000000',
  },
}
SCSS
$custom: #985bbf;
$custom-light: #b98bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#985bbf",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 276.6,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58178,
    "c": 0.15812,
    "h": 310.6
  },
  "luminance": 0.17919
}

Semantic roles & 50–950 ramp

primary
#985BBF
secondary
#B6D0A6
accent
#D45486
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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