#985AC9#985AC9

#985AC9 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.171 H 307.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#985AC9
RGBrgb(152, 90, 201)
HSLhsl(274, 51%, 57%)
HSVhsv(274, 55%, 79%)
CMYKcmyk(24.4%, 55.2%, 0%, 21.2%)
CIE-LABlab(49.74, 45.89, -48.15)
CIE-LCHlch(49.74, 66.52, 313.63°)
OKLaboklab(58.61% 0.1048 -0.1354)
OKLCHoklch(58.61% 0.171 307.8)
XYZxyz(27.1456, 18.2051, 57.3309)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AC9 #8BC95A
analogous
#615AC9 #985AC9 #C95AC2
triadic
#985AC9 #C9985A #5AC998
tetradic
#985AC9 #C9615A #8BC95A #5AC2C9
square
#985AC9 #C9615A #8BC95A #5AC2C9
split-complementary
#985AC9 #C2C95A #5AC961
monochromatic
#592A7F #7A39AD #985AC9 #B588D8 #D2B6E7

Accessibility & contrast

On white

4.52
#985AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#985AC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AC9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AC9#FFFFFF#000000##000000
##985AC91.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3574CD
Deuteranopia (green-blind)
#4B77C6
Tritanopia (blue-blind)
#916E89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985ac9;
/* rgb */ color: rgb(152, 90, 201);
/* oklch */ color: oklch(58.6% 0.171 307.8);
Tailwind
colors: {
  custom: {
    50: '#b98bda',
    500: '#985ac9',
    950: '#000000',
  },
}
SCSS
$custom: #985ac9;
$custom-light: #b98bda;
$custom-dark: #000000;
JSON
{
  "hex": "#985ac9",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 201
  },
  "hsl": {
    "h": 273.514,
    "s": 50.685,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58611,
    "c": 0.17119,
    "h": 307.8
  },
  "luminance": 0.18205
}

Semantic roles & 50–950 ramp

primary
#985AC9
secondary
#BDD6A9
accent
#DA4E8C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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