#985CCF#985CCF

#985CCF is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.3% C 0.175 H 305.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#985CCF
RGBrgb(152, 92, 207)
HSLhsl(271, 55%, 59%)
HSVhsv(271, 56%, 81%)
CMYKcmyk(26.6%, 55.6%, 0%, 18.8%)
CIE-LABlab(50.49, 46.23, -50.39)
CIE-LCHlch(50.49, 68.38, 312.53°)
OKLaboklab(59.27% 0.1025 -0.1419)
OKLCHoklch(59.27% 0.175 305.8)
XYZxyz(28.0361, 18.8349, 61.1779)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CCF #93CF5C
analogous
#5E5CCF #985CCF #CF5CCC
triadic
#985CCF #CF985C #5CCF98
tetradic
#985CCF #CF5E5C #93CF5C #5CCCCF
square
#985CCF #CF5E5C #93CF5C #5CCCCF
split-complementary
#985CCF #CCCF5C #5CCF5E
monochromatic
#5A2888 #7A36B8 #985CCF #B68BDD #D4BBEB

Accessibility & contrast

On white

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

On black

4.77
#985CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CCF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CCF#FFFFFF#000000##000000
##985CCF1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3376D3
Deuteranopia (green-blind)
#4878CC
Tritanopia (blue-blind)
#8F728D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985ccf;
/* rgb */ color: rgb(152, 92, 207);
/* oklch */ color: oklch(59.3% 0.175 305.8);
Tailwind
colors: {
  custom: {
    50: '#b98cde',
    500: '#985ccf',
    950: '#000000',
  },
}
SCSS
$custom: #985ccf;
$custom-light: #b98cde;
$custom-dark: #000000;
JSON
{
  "hex": "#985ccf",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 271.304,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59273,
    "c": 0.17504,
    "h": 305.8
  },
  "luminance": 0.18835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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