#985CC5#985CC5

#985CC5 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.163 H 308.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#985CC5
RGBrgb(152, 92, 197)
HSLhsl(274, 48%, 57%)
HSVhsv(274, 53%, 77%)
CMYKcmyk(22.8%, 53.3%, 0%, 22.7%)
CIE-LABlab(49.93, 43.90, -45.55)
CIE-LCHlch(49.93, 63.26, 313.94°)
OKLaboklab(58.68% 0.1019 -0.1278)
OKLCHoklch(58.68% 0.163 308.6)
XYZxyz(26.8521, 18.3613, 54.9420)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CC5 #89C55C
analogous
#645CC5 #985CC5 #C55CBD
triadic
#985CC5 #C5985C #5CC598
tetradic
#985CC5 #C5645C #89C55C #5CBDC5
square
#985CC5 #C5645C #89C55C #5CBDC5
split-complementary
#985CC5 #BDC55C #5CC564
monochromatic
#592C7B #7A3CA8 #985CC5 #B589D5 #D1B6E5

Accessibility & contrast

On white

4.49
#985CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#985CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CC5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CC5#FFFFFF#000000##000000
##985CC51.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D74C9
Deuteranopia (green-blind)
#5078C2
Tritanopia (blue-blind)
#926E88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985cc5;
/* rgb */ color: rgb(152, 92, 197);
/* oklch */ color: oklch(58.7% 0.163 308.6);
Tailwind
colors: {
  custom: {
    50: '#b98cd7',
    500: '#985cc5',
    950: '#000000',
  },
}
SCSS
$custom: #985cc5;
$custom-light: #b98cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#985cc5",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 197
  },
  "hsl": {
    "h": 274.286,
    "s": 47.511,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58677,
    "c": 0.16344,
    "h": 308.6
  },
  "luminance": 0.18361
}

Semantic roles & 50–950 ramp

primary
#985CC5
secondary
#BBD4A9
accent
#D7518A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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