#985CD5#985CD5

#985CD5 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.6% C 0.182 H 304.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#985CD5
RGBrgb(152, 92, 213)
HSLhsl(270, 59%, 60%)
HSVhsv(270, 57%, 84%)
CMYKcmyk(28.6%, 56.8%, 0%, 16.5%)
CIE-LABlab(50.84, 47.65, -53.25)
CIE-LCHlch(50.84, 71.46, 311.82°)
OKLaboklab(59.64% 0.1026 -0.1503)
OKLCHoklch(59.64% 0.182 304.3)
XYZxyz(28.7836, 19.1339, 65.1147)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CD5 #99D55C
analogous
#5C5DD5 #985CD5 #D45CD5
triadic
#985CD5 #D5985C #5CD598
tetradic
#985CD5 #D55C5D #99D55C #5CD5D4
square
#985CD5 #D55C5D #99D55C #5CD5D4
split-complementary
#985CD5 #D5D45C #5DD55C
monochromatic
#5B2591 #7932C2 #985CD5 #B78DE2 #D5BDEE

Accessibility & contrast

On white

4.35
#985CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#985CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CD5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CD5#FFFFFF#000000##000000
##985CD51.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B77D9
Deuteranopia (green-blind)
#4379D2
Tritanopia (blue-blind)
#8D7490
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985cd5;
/* rgb */ color: rgb(152, 92, 213);
/* oklch */ color: oklch(59.6% 0.182 304.3);
Tailwind
colors: {
  custom: {
    50: '#ba8ce2',
    500: '#985cd5',
    950: '#000000',
  },
}
SCSS
$custom: #985cd5;
$custom-light: #ba8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#985cd5",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 269.752,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59642,
    "c": 0.18199,
    "h": 304.3
  },
  "luminance": 0.19134
}

Semantic roles & 50–950 ramp

primary
#985CD5
secondary
#C7DEAF
accent
#E24695
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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