#985CCE#985CCE

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

Color values

HEX#985CCE
RGBrgb(152, 92, 206)
HSLhsl(272, 54%, 58%)
HSVhsv(272, 55%, 81%)
CMYKcmyk(26.2%, 55.3%, 0%, 19.2%)
CIE-LABlab(50.44, 45.99, -49.91)
CIE-LCHlch(50.44, 67.87, 312.66°)
OKLaboklab(59.21% 0.1024 -0.1405)
OKLCHoklch(59.21% 0.174 306.1)
XYZxyz(27.9143, 18.7862, 60.5361)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CCE #92CE5C
analogous
#5F5CCE #985CCE #CE5CCB
triadic
#985CCE #CE985C #5CCE98
tetradic
#985CCE #CE5F5C #92CE5C #5CCBCE
square
#985CCE #CE5F5C #92CE5C #5CCBCE
split-complementary
#985CCE #CBCE5C #5CCE5F
monochromatic
#5A2987 #7A37B6 #985CCE #B68BDC #D3BAEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985CCE#FFFFFF#000000##000000
##985CCE1.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)
#3476D2
Deuteranopia (green-blind)
#4978CB
Tritanopia (blue-blind)
#8F718C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985cce;
/* rgb */ color: rgb(152, 92, 206);
/* oklch */ color: oklch(59.2% 0.174 306.1);
Tailwind
colors: {
  custom: {
    50: '#b98cdd',
    500: '#985cce',
    950: '#000000',
  },
}
SCSS
$custom: #985cce;
$custom-light: #b98cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#985cce",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 271.579,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59212,
    "c": 0.17388,
    "h": 306.1
  },
  "luminance": 0.18786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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