#985ACB#985ACB

#985ACB is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.173 H 307.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#985ACB
RGBrgb(152, 90, 203)
HSLhsl(273, 52%, 57%)
HSVhsv(273, 56%, 80%)
CMYKcmyk(25.1%, 55.7%, 0%, 20.4%)
CIE-LABlab(49.86, 46.36, -49.12)
CIE-LCHlch(49.86, 67.54, 313.35°)
OKLaboklab(58.73% 0.1049 -0.1382)
OKLCHoklch(58.73% 0.173 307.2)
XYZxyz(27.3823, 18.2998, 58.5780)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985ACB #8DCB5A
analogous
#5F5ACB #985ACB #CB5AC6
triadic
#985ACB #CB985A #5ACB98
tetradic
#985ACB #CB5F5A #8DCB5A #5AC6CB
square
#985ACB #CB5F5A #8DCB5A #5AC6CB
split-complementary
#985ACB #C6CB5A #5ACB5F
monochromatic
#5A2982 #7A38B0 #985ACB #B589DA #D2B7E8

Accessibility & contrast

On white

4.51
#985ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#985ACB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985ACB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985ACB#FFFFFF#000000##000000
##985ACB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3374CF
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#906F8A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985acb;
/* rgb */ color: rgb(152, 90, 203);
/* oklch */ color: oklch(58.7% 0.173 307.2);
Tailwind
colors: {
  custom: {
    50: '#b98bdb',
    500: '#985acb',
    950: '#000000',
  },
}
SCSS
$custom: #985acb;
$custom-light: #b98bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#985acb",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 203
  },
  "hsl": {
    "h": 272.92,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58731,
    "c": 0.17348,
    "h": 307.2
  },
  "luminance": 0.183
}

Semantic roles & 50–950 ramp

primary
#985ACB
secondary
#BED7AA
accent
#DC4C8D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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