#985DED#985DED

#985DED is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.3% C 0.208 H 299.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#985DED
RGBrgb(152, 93, 237)
HSLhsl(265, 80%, 65%)
HSVhsv(265, 61%, 93%)
CMYKcmyk(35.9%, 60.8%, 0%, 7.1%)
CIE-LABlab(52.53, 52.98, -64.10)
CIE-LCHlch(52.53, 83.16, 309.57°)
OKLaboklab(61.35% 0.101 -0.1821)
OKLCHoklch(61.35% 0.208 299)
XYZxyz(32.1455, 20.6182, 82.3905)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DED #B2ED5D
analogous
#5D6AED #985DED #E05DED
triadic
#985DED #ED985D #5DED98
tetradic
#985DED #ED5D6A #B2ED5D #5DEDE0
square
#985DED #ED5D6A #B2ED5D #5DEDE0
split-complementary
#985DED #EDE05D #6AED5D
monochromatic
#5915BB #7526E7 #985DED #BB94F3 #DECBF9

Accessibility & contrast

On white

4.10
#985DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#985DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DED
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DED#FFFFFF#000000##000000
##985DED1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#237CEA
Tritanopia (blue-blind)
#857C9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #985ded;
/* rgb */ color: rgb(152, 93, 237);
/* oklch */ color: oklch(61.3% 0.208 299.0);
Tailwind
colors: {
  custom: {
    50: '#bb8ef4',
    500: '#985ded',
    950: '#000000',
  },
}
SCSS
$custom: #985ded;
$custom-light: #bb8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#985ded",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 264.583,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61349,
    "c": 0.20827,
    "h": 299
  },
  "luminance": 0.20619
}

Semantic roles & 50–950 ramp

primary
#985DED
secondary
#D7ECBA
accent
#DC0986
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #985DED

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

Preview Lab → · Contrast checker → · Palette generator →

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