#985FD6#985FD6

#985FD6 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.2% C 0.179 H 303.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#985FD6
RGBrgb(152, 95, 214)
HSLhsl(269, 59%, 61%)
HSVhsv(269, 56%, 84%)
CMYKcmyk(29%, 55.6%, 0%, 16.1%)
CIE-LABlab(51.51, 46.28, -52.75)
CIE-LCHlch(51.51, 70.18, 311.26°)
OKLaboklab(60.15% 0.0988 -0.1488)
OKLCHoklch(60.15% 0.179 303.6)
XYZxyz(29.1760, 19.7149, 65.8736)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FD6 #9DD65F
analogous
#5F62D6 #985FD6 #D35FD6
triadic
#985FD6 #D6985F #5FD698
tetradic
#985FD6 #D65F62 #9DD65F #5FD6D3
square
#985FD6 #D65F62 #9DD65F #5FD6D3
split-complementary
#985FD6 #D6D35F #62D65F
monochromatic
#5B2695 #7933C5 #985FD6 #B790E2 #D7C0EF

Accessibility & contrast

On white

4.25
#985FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#985FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FD6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FD6#FFFFFF#000000##000000
##985FD61.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3179DA
Deuteranopia (green-blind)
#467BD3
Tritanopia (blue-blind)
#8D7691
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #985fd6;
/* rgb */ color: rgb(152, 95, 214);
/* oklch */ color: oklch(60.2% 0.179 303.6);
Tailwind
colors: {
  custom: {
    50: '#ba8ee3',
    500: '#985fd6',
    950: '#000000',
  },
}
SCSS
$custom: #985fd6;
$custom-light: #ba8ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#985fd6",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 268.739,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60153,
    "c": 0.17868,
    "h": 303.6
  },
  "luminance": 0.19715
}

Semantic roles & 50–950 ramp

primary
#985FD6
secondary
#C9DFB2
accent
#C71F76
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C15
muted
#817D84

Preview Lab

Preview with #985FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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