#985BCF#985BCF

#985BCF is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.177 H 306.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#985BCF
RGBrgb(152, 91, 207)
HSLhsl(272, 55%, 58%)
HSVhsv(272, 56%, 81%)
CMYKcmyk(26.6%, 56%, 0%, 18.8%)
CIE-LABlab(50.29, 46.76, -50.72)
CIE-LCHlch(50.29, 68.98, 312.68°)
OKLaboklab(59.12% 0.1037 -0.1429)
OKLCHoklch(59.12% 0.177 306)
XYZxyz(27.9501, 18.6628, 61.1492)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BCF #92CF5B
analogous
#5E5BCF #985BCF #CF5BCC
triadic
#985BCF #CF985B #5BCF98
tetradic
#985BCF #CF5E5B #92CF5B #5BCCCF
square
#985BCF #CF5E5B #92CF5B #5BCCCF
split-complementary
#985BCF #CCCF5B #5BCF5E
monochromatic
#5A2888 #7A36B7 #985BCF #B68ADD #D3BAEB

Accessibility & contrast

On white

4.44
#985BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#985BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BCF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BCF#FFFFFF#000000##000000
##985BCF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3076D3
Deuteranopia (green-blind)
#4778CC
Tritanopia (blue-blind)
#8F718C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985bcf;
/* rgb */ color: rgb(152, 91, 207);
/* oklch */ color: oklch(59.1% 0.177 306.0);
Tailwind
colors: {
  custom: {
    50: '#b98cde',
    500: '#985bcf',
    950: '#000000',
  },
}
SCSS
$custom: #985bcf;
$custom-light: #b98cde;
$custom-dark: #000000;
JSON
{
  "hex": "#985bcf",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 271.552,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59123,
    "c": 0.17656,
    "h": 306
  },
  "luminance": 0.18663
}

Semantic roles & 50–950 ramp

primary
#985BCF
secondary
#C2DAAC
accent
#DE4A90
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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