#985EB7#985EB7

#985EB7 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.2% C 0.144 H 312.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#985EB7
RGBrgb(152, 94, 183)
HSLhsl(279, 38%, 54%)
HSVhsv(279, 49%, 72%)
CMYKcmyk(16.9%, 48.6%, 0%, 28.2%)
CIE-LABlab(49.62, 39.64, -37.95)
CIE-LCHlch(49.62, 54.88, 316.24°)
OKLaboklab(58.21% 0.0977 -0.1057)
OKLCHoklch(58.21% 0.144 312.8)
XYZxyz(25.4974, 18.1003, 46.9411)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EB7 #7DB75E
analogous
#6C5EB7 #985EB7 #B75EAA
triadic
#985EB7 #B7985E #5EB798
tetradic
#985EB7 #B76C5E #7DB75E #5EAAB7
square
#985EB7 #B76C5E #7DB75E #5EAAB7
split-complementary
#985EB7 #AAB75E #5EB76C
monochromatic
#56306B #784395 #985EB7 #B388CA #CEB3DD

Accessibility & contrast

On white

4.55
#985EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#985EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EB7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EB7#FFFFFF#000000##000000
##985EB71.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A73BA
Deuteranopia (green-blind)
#5B77B5
Tritanopia (blue-blind)
#956C82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985eb7;
/* rgb */ color: rgb(152, 94, 183);
/* oklch */ color: oklch(58.2% 0.144 312.8);
Tailwind
colors: {
  custom: {
    50: '#b88dcd',
    500: '#985eb7',
    950: '#000000',
  },
}
SCSS
$custom: #985eb7;
$custom-light: #b88dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#985eb7",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 279.101,
    "s": 38.197,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58205,
    "c": 0.14394,
    "h": 312.8
  },
  "luminance": 0.181
}

Semantic roles & 50–950 ramp

primary
#985EB7
secondary
#B3CBA6
accent
#CE5A82
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #985EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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