#985DD6#985DD6

#985DD6 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.9% C 0.182 H 303.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#985DD6
RGBrgb(152, 93, 214)
HSLhsl(269, 60%, 60%)
HSVhsv(269, 57%, 84%)
CMYKcmyk(29%, 56.5%, 0%, 16.1%)
CIE-LABlab(51.10, 47.36, -53.40)
CIE-LCHlch(51.10, 71.38, 311.56°)
OKLaboklab(59.85% 0.1014 -0.1508)
OKLCHoklch(59.85% 0.182 303.9)
XYZxyz(28.9982, 19.3592, 65.8143)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DD6 #9BD65D
analogous
#5D5ED6 #985DD6 #D45DD6
triadic
#985DD6 #D6985D #5DD698
tetradic
#985DD6 #D65D5E #9BD65D #5DD6D4
square
#985DD6 #D65D5E #9BD65D #5DD6D4
split-complementary
#985DD6 #D6D45D #5ED65D
monochromatic
#5B2593 #7932C4 #985DD6 #B78EE2 #D6BFEF

Accessibility & contrast

On white

4.31
#985DD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#985DD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DD6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DD6#FFFFFF#000000##000000
##985DD61.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C78DA
Deuteranopia (green-blind)
#437AD3
Tritanopia (blue-blind)
#8D7591
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #985dd6;
/* rgb */ color: rgb(152, 93, 214);
/* oklch */ color: oklch(59.9% 0.182 303.9);
Tailwind
colors: {
  custom: {
    50: '#ba8de3',
    500: '#985dd6',
    950: '#000000',
  },
}
SCSS
$custom: #985dd6;
$custom-light: #ba8de3;
$custom-dark: #000000;
JSON
{
  "hex": "#985dd6",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 214
  },
  "hsl": {
    "h": 269.256,
    "s": 59.606,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59853,
    "c": 0.18167,
    "h": 303.9
  },
  "luminance": 0.19359
}

Semantic roles & 50–950 ramp

primary
#985DD6
secondary
#C8DFB0
accent
#C71E75
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C15
muted
#817D84

Preview Lab

Preview with #985DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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