#985CCC#985CCC

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

Color values

HEX#985CCC
RGBrgb(152, 92, 204)
HSLhsl(272, 52%, 58%)
HSVhsv(272, 55%, 80%)
CMYKcmyk(25.5%, 54.9%, 0%, 20%)
CIE-LABlab(50.32, 45.52, -48.95)
CIE-LCHlch(50.32, 66.84, 312.92°)
OKLaboklab(59.09% 0.1023 -0.1377)
OKLCHoklch(59.09% 0.172 306.6)
XYZxyz(27.6729, 18.6896, 59.2647)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CCC #90CC5C
analogous
#605CCC #985CCC #CC5CC8
triadic
#985CCC #CC985C #5CCC98
tetradic
#985CCC #CC605C #90CC5C #5CC8CC
square
#985CCC #CC605C #90CC5C #5CC8CC
split-complementary
#985CCC #C8CC5C #5CCC60
monochromatic
#5A2984 #7A38B3 #985CCC #B58BDB #D3B9E9

Accessibility & contrast

On white

4.43
#985CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#985CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CCC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CCC#FFFFFF#000000##000000
##985CCC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3676D0
Deuteranopia (green-blind)
#4B78C9
Tritanopia (blue-blind)
#90718B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985ccc;
/* rgb */ color: rgb(152, 92, 204);
/* oklch */ color: oklch(59.1% 0.172 306.6);
Tailwind
colors: {
  custom: {
    50: '#b98cdc',
    500: '#985ccc',
    950: '#000000',
  },
}
SCSS
$custom: #985ccc;
$custom-light: #b98cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#985ccc",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 272.143,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59091,
    "c": 0.17156,
    "h": 306.6
  },
  "luminance": 0.18689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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