#985DC4#985DC4

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

Color values

HEX#985DC4
RGBrgb(152, 93, 196)
HSLhsl(274, 47%, 57%)
HSVhsv(274, 53%, 77%)
CMYKcmyk(22.4%, 52.6%, 0%, 23.1%)
CIE-LABlab(50.09, 43.12, -44.73)
CIE-LCHlch(50.09, 62.13, 313.95°)
OKLaboklab(58.77% 0.1005 -0.1254)
OKLCHoklch(58.77% 0.161 308.7)
XYZxyz(26.8251, 18.4900, 54.3696)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DC4 #89C45D
analogous
#655DC4 #985DC4 #C45DBD
triadic
#985DC4 #C4985D #5DC498
tetradic
#985DC4 #C4655D #89C45D #5DBDC4
square
#985DC4 #C4655D #89C45D #5DBDC4
split-complementary
#985DC4 #BDC45D #5DC465
monochromatic
#592C7A #7A3DA7 #985DC4 #B58AD4 #D1B7E5

Accessibility & contrast

On white

4.47
#985DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#985DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DC4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DC4#FFFFFF#000000##000000
##985DC41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F75C7
Deuteranopia (green-blind)
#5278C1
Tritanopia (blue-blind)
#926F88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985dc4;
/* rgb */ color: rgb(152, 93, 196);
/* oklch */ color: oklch(58.8% 0.161 308.7);
Tailwind
colors: {
  custom: {
    50: '#b98dd6',
    500: '#985dc4',
    950: '#000000',
  },
}
SCSS
$custom: #985dc4;
$custom-light: #b98dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#985dc4",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 196
  },
  "hsl": {
    "h": 274.369,
    "s": 46.606,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58773,
    "c": 0.16069,
    "h": 308.7
  },
  "luminance": 0.1849
}

Semantic roles & 50–950 ramp

primary
#985DC4
secondary
#BBD3A9
accent
#D6528A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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