#985EC5#985EC5

#985EC5 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.0% C 0.160 H 308.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#985EC5
RGBrgb(152, 94, 197)
HSLhsl(274, 47%, 57%)
HSVhsv(274, 52%, 77%)
CMYKcmyk(22.8%, 52.3%, 0%, 22.7%)
CIE-LABlab(50.35, 42.81, -44.89)
CIE-LCHlch(50.35, 62.03, 313.64°)
OKLaboklab(58.99% 0.0992 -0.1258)
OKLCHoklch(58.99% 0.16 308.3)
XYZxyz(27.0277, 18.7124, 55.0005)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EC5 #8BC55E
analogous
#645EC5 #985EC5 #C55EBF
triadic
#985EC5 #C5985E #5EC598
tetradic
#985EC5 #C5645E #8BC55E #5EBFC5
square
#985EC5 #C5645E #8BC55E #5EBFC5
split-complementary
#985EC5 #BFC55E #5EC564
monochromatic
#592D7C #7A3DA9 #985EC5 #B58BD5 #D2B8E5

Accessibility & contrast

On white

4.43
#985EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#985EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EC5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EC5#FFFFFF#000000##000000
##985EC51.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4075C8
Deuteranopia (green-blind)
#5279C2
Tritanopia (blue-blind)
#927089
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985ec5;
/* rgb */ color: rgb(152, 94, 197);
/* oklch */ color: oklch(59.0% 0.160 308.3);
Tailwind
colors: {
  custom: {
    50: '#b98dd7',
    500: '#985ec5',
    950: '#000000',
  },
}
SCSS
$custom: #985ec5;
$custom-light: #b98dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#985ec5",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 197
  },
  "hsl": {
    "h": 273.786,
    "s": 47.032,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58985,
    "c": 0.16025,
    "h": 308.3
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#985EC5
secondary
#BDD4AA
accent
#D7518B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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