#985ACC#985ACC

#985ACC is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.8% C 0.175 H 306.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#985ACC
RGBrgb(152, 90, 204)
HSLhsl(273, 53%, 58%)
HSVhsv(273, 56%, 80%)
CMYKcmyk(25.5%, 55.9%, 0%, 20%)
CIE-LABlab(49.92, 46.59, -49.60)
CIE-LCHlch(49.92, 68.05, 313.21°)
OKLaboklab(58.79% 0.1049 -0.1396)
OKLCHoklch(58.79% 0.175 306.9)
XYZxyz(27.5019, 18.3477, 59.2077)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985ACC #8ECC5A
analogous
#5F5ACC #985ACC #CC5AC7
triadic
#985ACC #CC985A #5ACC98
tetradic
#985ACC #CC5F5A #8ECC5A #5AC7CC
square
#985ACC #CC5F5A #8ECC5A #5AC7CC
split-complementary
#985ACC #C7CC5A #5ACC5F
monochromatic
#5A2983 #7A37B2 #985ACC #B589DA #D2B7E9

Accessibility & contrast

On white

4.50
#985ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#985ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985ACC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985ACC#FFFFFF#000000##000000
##985ACC1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3274D0
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#906F8A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985acc;
/* rgb */ color: rgb(152, 90, 204);
/* oklch */ color: oklch(58.8% 0.175 306.9);
Tailwind
colors: {
  custom: {
    50: '#b98bdc',
    500: '#985acc',
    950: '#000000',
  },
}
SCSS
$custom: #985acc;
$custom-light: #b98bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#985acc",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 272.632,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58792,
    "c": 0.17464,
    "h": 306.9
  },
  "luminance": 0.18347
}

Semantic roles & 50–950 ramp

primary
#985ACC
secondary
#BFD8AA
accent
#DC4C8E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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