#985AC8#985AC8

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

Color values

HEX#985AC8
RGBrgb(152, 90, 200)
HSLhsl(274, 50%, 57%)
HSVhsv(274, 55%, 78%)
CMYKcmyk(24%, 55%, 0%, 21.6%)
CIE-LABlab(49.69, 45.66, -47.66)
CIE-LCHlch(49.69, 66.01, 313.77°)
OKLaboklab(58.55% 0.1048 -0.1339)
OKLCHoklch(58.55% 0.17 308)
XYZxyz(27.0283, 18.1582, 56.7134)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AC8 #8AC85A
analogous
#615AC8 #985AC8 #C85AC1
triadic
#985AC8 #C8985A #5AC898
tetradic
#985AC8 #C8615A #8AC85A #5AC1C8
square
#985AC8 #C8615A #8AC85A #5AC1C8
split-complementary
#985AC8 #C1C85A #5AC861
monochromatic
#592A7E #7A39AC #985AC8 #B588D7 #D1B6E7

Accessibility & contrast

On white

4.53
#985AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#985AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985AC8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AC8#FFFFFF#000000##000000
##985AC81.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3674CC
Deuteranopia (green-blind)
#4C77C5
Tritanopia (blue-blind)
#916E88
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985ac8;
/* rgb */ color: rgb(152, 90, 200);
/* oklch */ color: oklch(58.6% 0.170 308.0);
Tailwind
colors: {
  custom: {
    50: '#b98bd9',
    500: '#985ac8',
    950: '#000000',
  },
}
SCSS
$custom: #985ac8;
$custom-light: #b98bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#985ac8",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 273.818,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58551,
    "c": 0.17004,
    "h": 308
  },
  "luminance": 0.18158
}

Semantic roles & 50–950 ramp

primary
#985AC8
secondary
#BCD5A8
accent
#DA4E8B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #985AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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