#985CC4#985CC4

#985CC4 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.162 H 308.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#985CC4
RGBrgb(152, 92, 196)
HSLhsl(275, 47%, 56%)
HSVhsv(275, 53%, 77%)
CMYKcmyk(22.4%, 53.1%, 0%, 23.1%)
CIE-LABlab(49.88, 43.67, -45.06)
CIE-LCHlch(49.88, 62.75, 314.10°)
OKLaboklab(58.62% 0.1019 -0.1263)
OKLCHoklch(58.62% 0.162 308.9)
XYZxyz(26.7379, 18.3156, 54.3406)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CC4 #88C45C
analogous
#645CC4 #985CC4 #C45CBC
triadic
#985CC4 #C4985C #5CC498
tetradic
#985CC4 #C4645C #88C45C #5CBCC4
square
#985CC4 #C4645C #88C45C #5CBCC4
split-complementary
#985CC4 #BCC45C #5CC464
monochromatic
#592C7A #7A3CA7 #985CC4 #B489D4 #D1B6E5

Accessibility & contrast

On white

4.50
#985CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#985CC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CC4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CC4#FFFFFF#000000##000000
##985CC41.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D74C7
Deuteranopia (green-blind)
#5177C1
Tritanopia (blue-blind)
#926E87
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985cc4;
/* rgb */ color: rgb(152, 92, 196);
/* oklch */ color: oklch(58.6% 0.162 308.9);
Tailwind
colors: {
  custom: {
    50: '#b98cd6',
    500: '#985cc4',
    950: '#000000',
  },
}
SCSS
$custom: #985cc4;
$custom-light: #b98cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#985cc4",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 196
  },
  "hsl": {
    "h": 274.615,
    "s": 46.847,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58619,
    "c": 0.16229,
    "h": 308.9
  },
  "luminance": 0.18315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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