#985DCF#985DCF

#985DCF is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.4% C 0.174 H 305.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#985DCF
RGBrgb(152, 93, 207)
HSLhsl(271, 54%, 59%)
HSVhsv(271, 55%, 81%)
CMYKcmyk(26.6%, 55.1%, 0%, 18.8%)
CIE-LABlab(50.70, 45.69, -50.06)
CIE-LCHlch(50.70, 67.78, 312.38°)
OKLaboklab(59.42% 0.1012 -0.141)
OKLCHoklch(59.42% 0.174 305.7)
XYZxyz(28.1233, 19.0093, 61.2070)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DCF #94CF5D
analogous
#5F5DCF #985DCF #CF5DCD
triadic
#985DCF #CF985D #5DCF98
tetradic
#985DCF #CF5F5D #94CF5D #5DCDCF
square
#985DCF #CF5F5D #94CF5D #5DCDCF
split-complementary
#985DCF #CDCF5D #5DCF5F
monochromatic
#5A2989 #7A37B8 #985DCF #B68CDD #D4BBEB

Accessibility & contrast

On white

4.37
#985DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#985DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DCF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DCF#FFFFFF#000000##000000
##985DCF1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3577D3
Deuteranopia (green-blind)
#4979CC
Tritanopia (blue-blind)
#8F728D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985dcf;
/* rgb */ color: rgb(152, 93, 207);
/* oklch */ color: oklch(59.4% 0.174 305.7);
Tailwind
colors: {
  custom: {
    50: '#b98dde',
    500: '#985dcf',
    950: '#000000',
  },
}
SCSS
$custom: #985dcf;
$custom-light: #b98dde;
$custom-dark: #000000;
JSON
{
  "hex": "#985dcf",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 271.053,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59423,
    "c": 0.17351,
    "h": 305.7
  },
  "luminance": 0.19009
}

Semantic roles & 50–950 ramp

primary
#985DCF
secondary
#C3DAAD
accent
#DE4A91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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