#985CD6#985CD6

#985CD6 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.7% C 0.183 H 304.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#985CD6
RGBrgb(152, 92, 214)
HSLhsl(270, 60%, 60%)
HSVhsv(270, 57%, 84%)
CMYKcmyk(29%, 57%, 0%, 16.1%)
CIE-LABlab(50.90, 47.89, -53.73)
CIE-LCHlch(50.90, 71.97, 311.71°)
OKLaboklab(59.71% 0.1026 -0.1517)
OKLCHoklch(59.71% 0.183 304.1)
XYZxyz(28.9110, 19.1848, 65.7852)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CD6 #9AD65C
analogous
#5C5DD6 #985CD6 #D55CD6
triadic
#985CD6 #D6985C #5CD698
tetradic
#985CD6 #D65C5D #9AD65C #5CD6D5
square
#985CD6 #D65C5D #9AD65C #5CD6D5
split-complementary
#985CD6 #D6D55C #5DD65C
monochromatic
#5B2593 #7931C4 #985CD6 #B78DE2 #D6BEEF

Accessibility & contrast

On white

4.34
#985CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#985CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985CD6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CD6#FFFFFF#000000##000000
##985CD61.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A78DA
Deuteranopia (green-blind)
#4279D3
Tritanopia (blue-blind)
#8D7490
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #985cd6;
/* rgb */ color: rgb(152, 92, 214);
/* oklch */ color: oklch(59.7% 0.183 304.1);
Tailwind
colors: {
  custom: {
    50: '#ba8ce3',
    500: '#985cd6',
    950: '#000000',
  },
}
SCSS
$custom: #985cd6;
$custom-light: #ba8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#985cd6",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 269.508,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.59705,
    "c": 0.18315,
    "h": 304.1
  },
  "luminance": 0.19185
}

Semantic roles & 50–950 ramp

primary
#985CD6
secondary
#C7DEAF
accent
#E34595
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C15
muted
#817D84

Preview Lab

Preview with #985CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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