#985AD8#985AD8

#985AD8 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.188 H 303.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#985AD8
RGBrgb(152, 90, 216)
HSLhsl(270, 62%, 60%)
HSVhsv(270, 58%, 85%)
CMYKcmyk(29.6%, 58.3%, 0%, 15.3%)
CIE-LABlab(50.62, 49.42, -55.31)
CIE-LCHlch(50.62, 74.18, 311.78°)
OKLaboklab(59.54% 0.1051 -0.1563)
OKLCHoklch(59.54% 0.188 303.9)
XYZxyz(28.9970, 18.9457, 67.0817)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AD8 #9AD85A
analogous
#5A5BD8 #985AD8 #D75AD8
triadic
#985AD8 #D8985A #5AD898
tetradic
#985AD8 #D85A5B #9AD85A #5AD8D7
square
#985AD8 #D85A5B #9AD85A #5AD8D7
split-complementary
#985AD8 #D8D75A #5BD85A
monochromatic
#5B2395 #792FC6 #985AD8 #B78BE4 #D6BDEF

Accessibility & contrast

On white

4.38
#985AD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#985AD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AD8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AD8#FFFFFF#000000##000000
##985AD81.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2077DC
Deuteranopia (green-blind)
#3D78D5
Tritanopia (blue-blind)
#8C7390
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985ad8;
/* rgb */ color: rgb(152, 90, 216);
/* oklch */ color: oklch(59.5% 0.188 303.9);
Tailwind
colors: {
  custom: {
    50: '#ba8be5',
    500: '#985ad8',
    950: '#000000',
  },
}
SCSS
$custom: #985ad8;
$custom-light: #ba8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#985ad8",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 216
  },
  "hsl": {
    "h": 269.524,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.59539,
    "c": 0.1884,
    "h": 303.9
  },
  "luminance": 0.18946
}

Semantic roles & 50–950 ramp

primary
#985AD8
secondary
#C7DFAF
accent
#E54395
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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