#985DC2#985DC2

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

Color values

HEX#985DC2
RGBrgb(152, 93, 194)
HSLhsl(275, 45%, 56%)
HSVhsv(275, 52%, 76%)
CMYKcmyk(21.6%, 52.1%, 0%, 23.9%)
CIE-LABlab(49.98, 42.66, -43.75)
CIE-LCHlch(49.98, 61.11, 314.28°)
OKLaboklab(58.66% 0.1003 -0.1225)
OKLCHoklch(58.66% 0.158 309.3)
XYZxyz(26.5990, 18.3996, 53.1787)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DC2 #87C25D
analogous
#665DC2 #985DC2 #C25DB9
triadic
#985DC2 #C2985D #5DC298
tetradic
#985DC2 #C2665D #87C25D #5DB9C2
square
#985DC2 #C2665D #87C25D #5DB9C2
split-complementary
#985DC2 #B9C25D #5DC266
monochromatic
#592D78 #7A3EA4 #985DC2 #B489D3 #D1B6E3

Accessibility & contrast

On white

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

On black

4.68
#985DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DC2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DC2#FFFFFF#000000##000000
##985DC21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4174C5
Deuteranopia (green-blind)
#5378BF
Tritanopia (blue-blind)
#926E87
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985dc2;
/* rgb */ color: rgb(152, 93, 194);
/* oklch */ color: oklch(58.7% 0.158 309.3);
Tailwind
colors: {
  custom: {
    50: '#b98dd5',
    500: '#985dc2',
    950: '#000000',
  },
}
SCSS
$custom: #985dc2;
$custom-light: #b98dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#985dc2",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 275.05,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58658,
    "c": 0.15836,
    "h": 309.3
  },
  "luminance": 0.18399
}

Semantic roles & 50–950 ramp

primary
#985DC2
secondary
#BAD2A9
accent
#D55389
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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