#985DC5#985DC5

#985DC5 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.8% C 0.162 H 308.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#985DC5
RGBrgb(152, 93, 197)
HSLhsl(274, 47%, 57%)
HSVhsv(274, 53%, 77%)
CMYKcmyk(22.8%, 52.8%, 0%, 22.7%)
CIE-LABlab(50.14, 43.35, -45.22)
CIE-LCHlch(50.14, 62.64, 313.79°)
OKLaboklab(58.83% 0.1006 -0.1268)
OKLCHoklch(58.83% 0.162 308.4)
XYZxyz(26.9393, 18.5357, 54.9711)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DC5 #8AC55D
analogous
#645DC5 #985DC5 #C55DBE
triadic
#985DC5 #C5985D #5DC598
tetradic
#985DC5 #C5645D #8AC55D #5DBEC5
square
#985DC5 #C5645D #8AC55D #5DBEC5
split-complementary
#985DC5 #BEC55D #5DC564
monochromatic
#592C7B #7A3CA8 #985DC5 #B58AD5 #D1B7E5

Accessibility & contrast

On white

4.46
#985DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#985DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DC5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DC5#FFFFFF#000000##000000
##985DC51.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E75C9
Deuteranopia (green-blind)
#5178C2
Tritanopia (blue-blind)
#926F88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985dc5;
/* rgb */ color: rgb(152, 93, 197);
/* oklch */ color: oklch(58.8% 0.162 308.4);
Tailwind
colors: {
  custom: {
    50: '#b98dd7',
    500: '#985dc5',
    950: '#000000',
  },
}
SCSS
$custom: #985dc5;
$custom-light: #b98dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#985dc5",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 197
  },
  "hsl": {
    "h": 274.038,
    "s": 47.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58831,
    "c": 0.16185,
    "h": 308.4
  },
  "luminance": 0.18535
}

Semantic roles & 50–950 ramp

primary
#985DC5
secondary
#BCD4AA
accent
#D7518B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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