#985DCA#985DCA

#985DCA is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.1% C 0.168 H 307.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#985DCA
RGBrgb(152, 93, 202)
HSLhsl(272, 51%, 58%)
HSVhsv(272, 54%, 79%)
CMYKcmyk(24.8%, 54%, 0%, 20.8%)
CIE-LABlab(50.42, 44.51, -47.65)
CIE-LCHlch(50.42, 65.21, 313.05°)
OKLaboklab(59.12% 0.1009 -0.1339)
OKLCHoklch(59.12% 0.168 307)
XYZxyz(27.5217, 18.7687, 58.0385)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DCA #8FCA5D
analogous
#615DCA #985DCA #CA5DC6
triadic
#985DCA #CA985D #5DCA98
tetradic
#985DCA #CA615D #8FCA5D #5DC6CA
square
#985DCA #CA615D #8FCA5D #5DC6CA
split-complementary
#985DCA #C6CA5D #5DCA61
monochromatic
#5A2B82 #7A3AB0 #985DCA #B58BD9 #D3B9E8

Accessibility & contrast

On white

4.42
#985DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#985DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DCA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DCA#FFFFFF#000000##000000
##985DCA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CE
Deuteranopia (green-blind)
#4D79C7
Tritanopia (blue-blind)
#90718B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #985dca;
/* rgb */ color: rgb(152, 93, 202);
/* oklch */ color: oklch(59.1% 0.168 307.0);
Tailwind
colors: {
  custom: {
    50: '#b98ddb',
    500: '#985dca',
    950: '#000000',
  },
}
SCSS
$custom: #985dca;
$custom-light: #b98ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#985dca",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 272.477,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.16768,
    "h": 307
  },
  "luminance": 0.18768
}

Semantic roles & 50–950 ramp

primary
#985DCA
secondary
#C0D7AC
accent
#DA4E8E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #985DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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