#985CCB#985CCB

#985CCB is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.0% C 0.170 H 306.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#985CCB
RGBrgb(152, 92, 203)
HSLhsl(272, 52%, 58%)
HSVhsv(272, 55%, 80%)
CMYKcmyk(25.1%, 54.7%, 0%, 20.4%)
CIE-LABlab(50.27, 45.29, -48.46)
CIE-LCHlch(50.27, 66.33, 313.06°)
OKLaboklab(59.03% 0.1023 -0.1363)
OKLCHoklch(59.03% 0.17 306.9)
XYZxyz(27.5533, 18.6418, 58.6350)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CCB #8FCB5C
analogous
#605CCB #985CCB #CB5CC7
triadic
#985CCB #CB985C #5CCB98
tetradic
#985CCB #CB605C #8FCB5C #5CC7CB
square
#985CCB #CB605C #8FCB5C #5CC7CB
split-complementary
#985CCB #C7CB5C #5CCB60
monochromatic
#5A2A83 #7A39B1 #985CCB #B58ADA #D3B9E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985CCB#FFFFFF#000000##000000
##985CCB1.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)
#3775CF
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#90708B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985ccb;
/* rgb */ color: rgb(152, 92, 203);
/* oklch */ color: oklch(59.0% 0.170 306.9);
Tailwind
colors: {
  custom: {
    50: '#b98cdb',
    500: '#985ccb',
    950: '#000000',
  },
}
SCSS
$custom: #985ccb;
$custom-light: #b98cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#985ccb",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 272.432,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59031,
    "c": 0.1704,
    "h": 306.9
  },
  "luminance": 0.18641
}

Semantic roles & 50–950 ramp

primary
#985CCB
secondary
#C0D8AB
accent
#DB4D8E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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