#985BC5#985BC5

#985BC5 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.165 H 308.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#985BC5
RGBrgb(152, 91, 197)
HSLhsl(275, 48%, 56%)
HSVhsv(275, 54%, 77%)
CMYKcmyk(22.8%, 53.8%, 0%, 22.7%)
CIE-LABlab(49.72, 44.44, -45.88)
CIE-LCHlch(49.72, 63.87, 314.08°)
OKLaboklab(58.53% 0.1033 -0.1287)
OKLCHoklch(58.53% 0.165 308.7)
XYZxyz(26.7661, 18.1892, 54.9133)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BC5 #88C55B
analogous
#635BC5 #985BC5 #C55BBD
triadic
#985BC5 #C5985B #5BC598
tetradic
#985BC5 #C5635B #88C55B #5BBDC5
square
#985BC5 #C5635B #88C55B #5BBDC5
split-complementary
#985BC5 #BDC55B #5BC563
monochromatic
#592B7A #7A3BA8 #985BC5 #B488D5 #D1B5E5

Accessibility & contrast

On white

4.53
#985BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#985BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BC5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BC5#FFFFFF#000000##000000
##985BC51.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B74C9
Deuteranopia (green-blind)
#4F77C2
Tritanopia (blue-blind)
#926E87
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985bc5;
/* rgb */ color: rgb(152, 91, 197);
/* oklch */ color: oklch(58.5% 0.165 308.7);
Tailwind
colors: {
  custom: {
    50: '#b98bd7',
    500: '#985bc5',
    950: '#000000',
  },
}
SCSS
$custom: #985bc5;
$custom-light: #b98bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#985bc5",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 197
  },
  "hsl": {
    "h": 274.528,
    "s": 47.748,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.16503,
    "h": 308.7
  },
  "luminance": 0.18189
}

Semantic roles & 50–950 ramp

primary
#985BC5
secondary
#BBD4A8
accent
#D7508A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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