#985DC6#985DC6

#985DC6 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.163 H 308.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#985DC6
RGBrgb(152, 93, 198)
HSLhsl(274, 48%, 57%)
HSVhsv(274, 53%, 78%)
CMYKcmyk(23.2%, 53%, 0%, 22.4%)
CIE-LABlab(50.19, 43.58, -45.71)
CIE-LCHlch(50.19, 63.16, 313.64°)
OKLaboklab(58.89% 0.1007 -0.1282)
OKLCHoklch(58.89% 0.163 308.1)
XYZxyz(27.0543, 18.5817, 55.5765)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DC6 #8BC65D
analogous
#645DC6 #985DC6 #C65DC0
triadic
#985DC6 #C6985D #5DC698
tetradic
#985DC6 #C6645D #8BC65D #5DC0C6
square
#985DC6 #C6645D #8BC65D #5DC0C6
split-complementary
#985DC6 #C0C65D #5DC664
monochromatic
#592C7D #7A3CAA #985DC6 #B58AD6 #D2B8E6

Accessibility & contrast

On white

4.45
#985DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#985DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DC6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DC6#FFFFFF#000000##000000
##985DC61.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D75CA
Deuteranopia (green-blind)
#5078C3
Tritanopia (blue-blind)
#917089
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985dc6;
/* rgb */ color: rgb(152, 93, 198);
/* oklch */ color: oklch(58.9% 0.163 308.1);
Tailwind
colors: {
  custom: {
    50: '#b98dd8',
    500: '#985dc6',
    950: '#000000',
  },
}
SCSS
$custom: #985dc6;
$custom-light: #b98dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#985dc6",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 198
  },
  "hsl": {
    "h": 273.714,
    "s": 47.945,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58889,
    "c": 0.16302,
    "h": 308.1
  },
  "luminance": 0.18581
}

Semantic roles & 50–950 ramp

primary
#985DC6
secondary
#BDD5AA
accent
#D8508C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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