#985AD5#985AD5

#985AD5 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.3% C 0.185 H 304.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#985AD5
RGBrgb(152, 90, 213)
HSLhsl(270, 59%, 59%)
HSVhsv(270, 58%, 84%)
CMYKcmyk(28.6%, 57.7%, 0%, 16.5%)
CIE-LABlab(50.44, 48.71, -53.90)
CIE-LCHlch(50.44, 72.65, 312.11°)
OKLaboklab(59.35% 0.1051 -0.1522)
OKLCHoklch(59.35% 0.185 304.6)
XYZxyz(28.6127, 18.7920, 65.0577)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AD5 #97D55A
analogous
#5B5AD5 #985AD5 #D55AD4
triadic
#985AD5 #D5985A #5AD598
tetradic
#985AD5 #D55B5A #97D55A #5AD4D5
square
#985AD5 #D55B5A #97D55A #5AD4D5
split-complementary
#985AD5 #D4D55A #5AD55B
monochromatic
#5B2590 #7931C1 #985AD5 #B68BE1 #D5BCEE

Accessibility & contrast

On white

4.41
#985AD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#985AD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AD5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AD5#FFFFFF#000000##000000
##985AD51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2676D9
Deuteranopia (green-blind)
#4078D2
Tritanopia (blue-blind)
#8D728F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985ad5;
/* rgb */ color: rgb(152, 90, 213);
/* oklch */ color: oklch(59.3% 0.185 304.6);
Tailwind
colors: {
  custom: {
    50: '#ba8be2',
    500: '#985ad5',
    950: '#000000',
  },
}
SCSS
$custom: #985ad5;
$custom-light: #ba8be2;
$custom-dark: #000000;
JSON
{
  "hex": "#985ad5",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 213
  },
  "hsl": {
    "h": 270.244,
    "s": 59.42,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59349,
    "c": 0.18496,
    "h": 304.6
  },
  "luminance": 0.18792
}

Semantic roles & 50–950 ramp

primary
#985AD5
secondary
#C5DDAD
accent
#E34593
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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