#985DE5#985DE5

#985DE5 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.8% C 0.199 H 300.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#985DE5
RGBrgb(152, 93, 229)
HSLhsl(266, 72%, 63%)
HSVhsv(266, 59%, 90%)
CMYKcmyk(33.6%, 59.4%, 0%, 10.2%)
CIE-LABlab(52.02, 51.00, -60.43)
CIE-LCHlch(52.02, 79.07, 310.16°)
OKLaboklab(60.82% 0.1013 -0.1714)
OKLCHoklch(60.82% 0.199 300.6)
XYZxyz(31.0027, 20.1611, 76.3717)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DE5 #AAE55D
analogous
#5D66E5 #985DE5 #DC5DE5
triadic
#985DE5 #E5985D #5DE598
tetradic
#985DE5 #E55D66 #AAE55D #5DE5DC
square
#985DE5 #E55D66 #AAE55D #5DE5DC
split-complementary
#985DE5 #E5DC5D #66E55D
monochromatic
#5A1CAC #7628DD #985DE5 #BA92ED #DBC6F6

Accessibility & contrast

On white

4.17
#985DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#985DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DE5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DE5#FFFFFF#000000##000000
##985DE51.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#087BE9
Deuteranopia (green-blind)
#317BE2
Tritanopia (blue-blind)
#887A98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #985de5;
/* rgb */ color: rgb(152, 93, 229);
/* oklch */ color: oklch(60.8% 0.199 300.6);
Tailwind
colors: {
  custom: {
    50: '#bb8dee',
    500: '#985de5',
    950: '#000000',
  },
}
SCSS
$custom: #985de5;
$custom-light: #bb8dee;
$custom-dark: #000000;
JSON
{
  "hex": "#985de5",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 229
  },
  "hsl": {
    "h": 266.029,
    "s": 72.34,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60815,
    "c": 0.19907,
    "h": 300.6
  },
  "luminance": 0.20161
}

Semantic roles & 50–950 ramp

primary
#985DE5
secondary
#D2E7B7
accent
#D41180
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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