#985BCD#985BCD

#985BCD is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.0% C 0.174 H 306.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#985BCD
RGBrgb(152, 91, 205)
HSLhsl(272, 53%, 58%)
HSVhsv(272, 56%, 80%)
CMYKcmyk(25.9%, 55.6%, 0%, 19.6%)
CIE-LABlab(50.18, 46.29, -49.75)
CIE-LCHlch(50.18, 67.96, 312.93°)
OKLaboklab(59% 0.1037 -0.1401)
OKLCHoklch(59% 0.174 306.5)
XYZxyz(27.7071, 18.5656, 59.8697)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BCD #90CD5B
analogous
#5F5BCD #985BCD #CD5BC9
triadic
#985BCD #CD985B #5BCD98
tetradic
#985BCD #CD5F5B #90CD5B #5BC9CD
square
#985BCD #CD5F5B #90CD5B #5BC9CD
split-complementary
#985BCD #C9CD5B #5BCD5F
monochromatic
#5A2985 #7A37B4 #985BCD #B58ADB #D3B9EA

Accessibility & contrast

On white

4.46
#985BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#985BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BCD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BCD#FFFFFF#000000##000000
##985BCD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3375D1
Deuteranopia (green-blind)
#4978CA
Tritanopia (blue-blind)
#90708B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985bcd;
/* rgb */ color: rgb(152, 91, 205);
/* oklch */ color: oklch(59.0% 0.174 306.5);
Tailwind
colors: {
  custom: {
    50: '#b98cdd',
    500: '#985bcd',
    950: '#000000',
  },
}
SCSS
$custom: #985bcd;
$custom-light: #b98cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#985bcd",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 272.105,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.17425,
    "h": 306.5
  },
  "luminance": 0.18565
}

Semantic roles & 50–950 ramp

primary
#985BCD
secondary
#C0D9AB
accent
#DD4B8F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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