#985DEE#985DEE

#985DEE is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.4% C 0.209 H 298.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#985DEE
RGBrgb(152, 93, 238)
HSLhsl(264, 81%, 65%)
HSVhsv(264, 61%, 93%)
CMYKcmyk(36.1%, 60.9%, 0%, 6.7%)
CIE-LABlab(52.59, 53.23, -64.55)
CIE-LCHlch(52.59, 83.67, 309.51°)
OKLaboklab(61.42% 0.1009 -0.1835)
OKLCHoklch(61.42% 0.209 298.8)
XYZxyz(32.2920, 20.6768, 83.1621)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DEE #B3EE5D
analogous
#5D6AEE #985DEE #E15DEE
triadic
#985DEE #EE985D #5DEE98
tetradic
#985DEE #EE5D6A #B3EE5D #5DEEE1
square
#985DEE #EE5D6A #B3EE5D #5DEEE1
split-complementary
#985DEE #EEE15D #6AEE5D
monochromatic
#5914BD #7526E8 #985DEE #BB94F4 #DECCFA

Accessibility & contrast

On white

4.09
#985DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#985DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DEE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DEE#FFFFFF#000000##000000
##985DEE1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#207CEB
Tritanopia (blue-blind)
#857D9D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #985dee;
/* rgb */ color: rgb(152, 93, 238);
/* oklch */ color: oklch(61.4% 0.209 298.8);
Tailwind
colors: {
  custom: {
    50: '#bb8ef4',
    500: '#985dee',
    950: '#000000',
  },
}
SCSS
$custom: #985dee;
$custom-light: #bb8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#985dee",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 238
  },
  "hsl": {
    "h": 264.414,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61417,
    "c": 0.20942,
    "h": 298.8
  },
  "luminance": 0.20677
}

Semantic roles & 50–950 ramp

primary
#985DEE
secondary
#D8ECBB
accent
#DD0887
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #985DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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