#985CD0#985CD0

#985CD0 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.3% C 0.176 H 305.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#985CD0
RGBrgb(152, 92, 208)
HSLhsl(271, 55%, 59%)
HSVhsv(271, 56%, 82%)
CMYKcmyk(26.9%, 55.8%, 0%, 18.4%)
CIE-LABlab(50.55, 46.46, -50.87)
CIE-LCHlch(50.55, 68.89, 312.41°)
OKLaboklab(59.33% 0.1025 -0.1433)
OKLCHoklch(59.33% 0.176 305.6)
XYZxyz(28.1588, 18.8840, 61.8238)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CD0 #94D05C
analogous
#5E5CD0 #985CD0 #D05CCE
triadic
#985CD0 #D0985C #5CD098
tetradic
#985CD0 #D05E5C #94D05C #5CCED0
square
#985CD0 #D05E5C #94D05C #5CCED0
split-complementary
#985CD0 #CED05C #5CD05E
monochromatic
#5A288A #7A35B9 #985CD0 #B68CDE #D4BBEB

Accessibility & contrast

On white

4.40
#985CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#985CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CD0
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CD0#FFFFFF#000000##000000
##985CD01.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3176D4
Deuteranopia (green-blind)
#4779CD
Tritanopia (blue-blind)
#8F728D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985cd0;
/* rgb */ color: rgb(152, 92, 208);
/* oklch */ color: oklch(59.3% 0.176 305.6);
Tailwind
colors: {
  custom: {
    50: '#b98cdf',
    500: '#985cd0',
    950: '#000000',
  },
}
SCSS
$custom: #985cd0;
$custom-light: #b98cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#985cd0",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 208
  },
  "hsl": {
    "h": 271.034,
    "s": 55.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59334,
    "c": 0.1762,
    "h": 305.6
  },
  "luminance": 0.18884
}

Semantic roles & 50–950 ramp

primary
#985CD0
secondary
#C3DBAD
accent
#DF4991
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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