#985DCB#985DCB

#985DCB is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.169 H 306.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#985DCB
RGBrgb(152, 93, 203)
HSLhsl(272, 51%, 58%)
HSVhsv(272, 54%, 80%)
CMYKcmyk(25.1%, 54.2%, 0%, 20.4%)
CIE-LABlab(50.47, 44.75, -48.14)
CIE-LCHlch(50.47, 65.72, 312.91°)
OKLaboklab(59.18% 0.101 -0.1353)
OKLCHoklch(59.18% 0.169 306.7)
XYZxyz(27.6405, 18.8162, 58.6641)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DCB #90CB5D
analogous
#615DCB #985DCB #CB5DC7
triadic
#985DCB #CB985D #5DCB98
tetradic
#985DCB #CB615D #90CB5D #5DC7CB
square
#985DCB #CB615D #90CB5D #5DC7CB
split-complementary
#985DCB #C7CB5D #5DCB61
monochromatic
#5A2A83 #7A39B2 #985DCB #B58BDA #D3BAE9

Accessibility & contrast

On white

4.41
#985DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#985DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DCB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DCB#FFFFFF#000000##000000
##985DCB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3976CF
Deuteranopia (green-blind)
#4D79C8
Tritanopia (blue-blind)
#90718B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985dcb;
/* rgb */ color: rgb(152, 93, 203);
/* oklch */ color: oklch(59.2% 0.169 306.7);
Tailwind
colors: {
  custom: {
    50: '#b98ddb',
    500: '#985dcb',
    950: '#000000',
  },
}
SCSS
$custom: #985dcb;
$custom-light: #b98ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#985dcb",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 272.182,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59183,
    "c": 0.16885,
    "h": 306.7
  },
  "luminance": 0.18816
}

Semantic roles & 50–950 ramp

primary
#985DCB
secondary
#C0D8AC
accent
#DB4D8F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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