#985FC5#985FC5

#985FC5 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.1% C 0.159 H 308.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#985FC5
RGBrgb(152, 95, 197)
HSLhsl(274, 47%, 57%)
HSVhsv(274, 52%, 77%)
CMYKcmyk(22.8%, 51.8%, 0%, 22.7%)
CIE-LABlab(50.56, 42.26, -44.55)
CIE-LCHlch(50.56, 61.41, 313.49°)
OKLaboklab(59.14% 0.0979 -0.1249)
OKLCHoklch(59.14% 0.159 308.1)
XYZxyz(27.1172, 18.8914, 55.0304)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FC5 #8CC55F
analogous
#655FC5 #985FC5 #C55FBF
triadic
#985FC5 #C5985F #5FC598
tetradic
#985FC5 #C5655F #8CC55F #5FBFC5
square
#985FC5 #C5655F #8CC55F #5FBFC5
split-complementary
#985FC5 #BFC55F #5FC565
monochromatic
#592D7C #7A3DA9 #985FC5 #B58CD5 #D2B9E6

Accessibility & contrast

On white

4.39
#985FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#985FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FC5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FC5#FFFFFF#000000##000000
##985FC51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4276C8
Deuteranopia (green-blind)
#5379C2
Tritanopia (blue-blind)
#927189
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985fc5;
/* rgb */ color: rgb(152, 95, 197);
/* oklch */ color: oklch(59.1% 0.159 308.1);
Tailwind
colors: {
  custom: {
    50: '#b98ed7',
    500: '#985fc5',
    950: '#000000',
  },
}
SCSS
$custom: #985fc5;
$custom-light: #b98ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#985fc5",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 273.529,
    "s": 46.789,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59141,
    "c": 0.15865,
    "h": 308.1
  },
  "luminance": 0.18891
}

Semantic roles & 50–950 ramp

primary
#985FC5
secondary
#BDD5AB
accent
#D6518C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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