#985AD0#985AD0

#985AD0 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.0% C 0.179 H 305.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#985AD0
RGBrgb(152, 90, 208)
HSLhsl(272, 56%, 58%)
HSVhsv(272, 57%, 82%)
CMYKcmyk(26.9%, 56.7%, 0%, 18.4%)
CIE-LABlab(50.15, 47.53, -51.52)
CIE-LCHlch(50.15, 70.09, 312.69°)
OKLaboklab(59.04% 0.105 -0.1452)
OKLCHoklch(59.04% 0.179 305.9)
XYZxyz(27.9878, 18.5420, 61.7668)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AD0 #92D05A
analogous
#5D5AD0 #985AD0 #D05ACD
triadic
#985AD0 #D0985A #5AD098
tetradic
#985AD0 #D05D5A #92D05A #5ACDD0
square
#985AD0 #D05D5A #92D05A #5ACDD0
split-complementary
#985AD0 #CDD05A #5AD05D
monochromatic
#5A2789 #7A34B8 #985AD0 #B68ADE #D3B9EB

Accessibility & contrast

On white

4.46
#985AD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#985AD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AD0
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AD0#FFFFFF#000000##000000
##985AD01.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D75D4
Deuteranopia (green-blind)
#4578CD
Tritanopia (blue-blind)
#8F718C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985ad0;
/* rgb */ color: rgb(152, 90, 208);
/* oklch */ color: oklch(59.0% 0.179 305.9);
Tailwind
colors: {
  custom: {
    50: '#ba8bdf',
    500: '#985ad0',
    950: '#000000',
  },
}
SCSS
$custom: #985ad0;
$custom-light: #ba8bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#985ad0",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 208
  },
  "hsl": {
    "h": 271.525,
    "s": 55.66,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59037,
    "c": 0.17922,
    "h": 305.9
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#985AD0
secondary
#C2DAAB
accent
#DF4990
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985AD0

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

Preview Lab → · Contrast checker → · Palette generator →

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