#985DD0#985DD0

#985DD0 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.5% C 0.175 H 305.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#985DD0
RGBrgb(152, 93, 208)
HSLhsl(271, 55%, 59%)
HSVhsv(271, 55%, 82%)
CMYKcmyk(26.9%, 55.3%, 0%, 18.4%)
CIE-LABlab(50.76, 45.93, -50.54)
CIE-LCHlch(50.76, 68.29, 312.26°)
OKLaboklab(59.48% 0.1012 -0.1424)
OKLCHoklch(59.48% 0.175 305.4)
XYZxyz(28.2460, 19.0584, 61.8529)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DD0 #95D05D
analogous
#5F5DD0 #985DD0 #D05DCE
triadic
#985DD0 #D0985D #5DD098
tetradic
#985DD0 #D05F5D #95D05D #5DCED0
square
#985DD0 #D05F5D #95D05D #5DCED0
split-complementary
#985DD0 #CED05D #5DD05F
monochromatic
#5B288A #7A36BA #985DD0 #B68CDE #D4BCEC

Accessibility & contrast

On white

4.36
#985DD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#985DD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DD0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DD0#FFFFFF#000000##000000
##985DD01.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3477D4
Deuteranopia (green-blind)
#4979CD
Tritanopia (blue-blind)
#8F738E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985dd0;
/* rgb */ color: rgb(152, 93, 208);
/* oklch */ color: oklch(59.5% 0.175 305.4);
Tailwind
colors: {
  custom: {
    50: '#b98ddf',
    500: '#985dd0',
    950: '#000000',
  },
}
SCSS
$custom: #985dd0;
$custom-light: #b98ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#985dd0",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 208
  },
  "hsl": {
    "h": 270.783,
    "s": 55.024,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59484,
    "c": 0.17468,
    "h": 305.4
  },
  "luminance": 0.19058
}

Semantic roles & 50–950 ramp

primary
#985DD0
secondary
#C4DBAE
accent
#DE4992
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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