#985FC7#985FC7

#985FC7 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.3% C 0.161 H 307.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#985FC7
RGBrgb(152, 95, 199)
HSLhsl(273, 48%, 58%)
HSVhsv(273, 52%, 78%)
CMYKcmyk(23.6%, 52.3%, 0%, 22%)
CIE-LABlab(50.67, 42.73, -45.53)
CIE-LCHlch(50.67, 62.44, 313.18°)
OKLaboklab(59.26% 0.098 -0.1277)
OKLCHoklch(59.26% 0.161 307.5)
XYZxyz(27.3478, 18.9837, 56.2453)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FC7 #8EC75F
analogous
#645FC7 #985FC7 #C75FC2
triadic
#985FC7 #C7985F #5FC798
tetradic
#985FC7 #C7645F #8EC75F #5FC2C7
square
#985FC7 #C7645F #8EC75F #5FC2C7
split-complementary
#985FC7 #C2C75F #5FC764
monochromatic
#5A2C7F #7A3CAC #985FC7 #B58CD7 #D2BAE7

Accessibility & contrast

On white

4.38
#985FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#985FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FC7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FC7#FFFFFF#000000##000000
##985FC71.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4076CB
Deuteranopia (green-blind)
#5279C4
Tritanopia (blue-blind)
#91718A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985fc7;
/* rgb */ color: rgb(152, 95, 199);
/* oklch */ color: oklch(59.3% 0.161 307.5);
Tailwind
colors: {
  custom: {
    50: '#b98ed8',
    500: '#985fc7',
    950: '#000000',
  },
}
SCSS
$custom: #985fc7;
$custom-light: #b98ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#985fc7",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 272.885,
    "s": 48.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59257,
    "c": 0.161,
    "h": 307.5
  },
  "luminance": 0.18983
}

Semantic roles & 50–950 ramp

primary
#985FC7
secondary
#BFD6AC
accent
#D8508D
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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