#985CC2#985CC2

#985CC2 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.160 H 309.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#985CC2
RGBrgb(152, 92, 194)
HSLhsl(275, 46%, 56%)
HSVhsv(275, 53%, 76%)
CMYKcmyk(21.6%, 52.6%, 0%, 23.9%)
CIE-LABlab(49.77, 43.21, -44.08)
CIE-LCHlch(49.77, 61.73, 314.43°)
OKLaboklab(58.5% 0.1017 -0.1235)
OKLCHoklch(58.5% 0.16 309.5)
XYZxyz(26.5118, 18.2252, 53.1496)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CC2 #86C25C
analogous
#655CC2 #985CC2 #C25CB9
triadic
#985CC2 #C2985C #5CC298
tetradic
#985CC2 #C2655C #86C25C #5CB9C2
square
#985CC2 #C2655C #86C25C #5CB9C2
split-complementary
#985CC2 #B9C25C #5CC265
monochromatic
#582D77 #793DA4 #985CC2 #B489D3 #D0B5E3

Accessibility & contrast

On white

4.52
#985CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#985CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CC2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CC2#FFFFFF#000000##000000
##985CC21.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F74C5
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#926E86
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985cc2;
/* rgb */ color: rgb(152, 92, 194);
/* oklch */ color: oklch(58.5% 0.160 309.5);
Tailwind
colors: {
  custom: {
    50: '#b98cd5',
    500: '#985cc2',
    950: '#000000',
  },
}
SCSS
$custom: #985cc2;
$custom-light: #b98cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#985cc2",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 275.294,
    "s": 45.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58503,
    "c": 0.15997,
    "h": 309.5
  },
  "luminance": 0.18225
}

Semantic roles & 50–950 ramp

primary
#985CC2
secondary
#B9D2A8
accent
#D55388
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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