#985ED5#985ED5

#985ED5 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.9% C 0.179 H 304.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#985ED5
RGBrgb(152, 94, 213)
HSLhsl(269, 59%, 60%)
HSVhsv(269, 56%, 84%)
CMYKcmyk(28.6%, 55.9%, 0%, 16.5%)
CIE-LABlab(51.25, 46.58, -52.60)
CIE-LCHlch(51.25, 70.26, 311.52°)
OKLaboklab(59.94% 0.1001 -0.1484)
OKLCHoklch(59.94% 0.179 304)
XYZxyz(28.9592, 19.4850, 65.1732)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985ED5 #9BD55E
analogous
#5E5FD5 #985ED5 #D45ED5
triadic
#985ED5 #D5985E #5ED598
tetradic
#985ED5 #D55E5F #9BD55E #5ED5D4
square
#985ED5 #D55E5F #9BD55E #5ED5D4
split-complementary
#985ED5 #D5D45E #5FD55E
monochromatic
#5B2692 #7933C3 #985ED5 #B78FE2 #D6BFEE

Accessibility & contrast

On white

4.29
#985ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#985ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985ED5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985ED5#FFFFFF#000000##000000
##985ED51.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3079D9
Deuteranopia (green-blind)
#457AD2
Tritanopia (blue-blind)
#8D7591
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985ed5;
/* rgb */ color: rgb(152, 94, 213);
/* oklch */ color: oklch(59.9% 0.179 304.0);
Tailwind
colors: {
  custom: {
    50: '#ba8ee2',
    500: '#985ed5',
    950: '#000000',
  },
}
SCSS
$custom: #985ed5;
$custom-light: #ba8ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#985ed5",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 269.244,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59941,
    "c": 0.179,
    "h": 304
  },
  "luminance": 0.19485
}

Semantic roles & 50–950 ramp

primary
#985ED5
secondary
#C8DEB1
accent
#C61F75
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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