#985DC3#985DC3

#985DC3 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.160 H 309.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#985DC3
RGBrgb(152, 93, 195)
HSLhsl(275, 46%, 56%)
HSVhsv(275, 52%, 76%)
CMYKcmyk(22.1%, 52.3%, 0%, 23.5%)
CIE-LABlab(50.03, 42.89, -44.24)
CIE-LCHlch(50.03, 61.62, 314.11°)
OKLaboklab(58.72% 0.1004 -0.1239)
OKLCHoklch(58.72% 0.16 309)
XYZxyz(26.7117, 18.4446, 53.7722)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DC3 #88C35D
analogous
#655DC3 #985DC3 #C35DBB
triadic
#985DC3 #C3985D #5DC398
tetradic
#985DC3 #C3655D #88C35D #5DBBC3
square
#985DC3 #C3655D #88C35D #5DBBC3
split-complementary
#985DC3 #BBC35D #5DC365
monochromatic
#592D79 #7A3DA6 #985DC3 #B48AD4 #D1B6E4

Accessibility & contrast

On white

4.48
#985DC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#985DC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985DC3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DC3#FFFFFF#000000##000000
##985DC31.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4074C6
Deuteranopia (green-blind)
#5278C0
Tritanopia (blue-blind)
#926F87
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #985dc3;
/* rgb */ color: rgb(152, 93, 195);
/* oklch */ color: oklch(58.7% 0.160 309.0);
Tailwind
colors: {
  custom: {
    50: '#b98dd5',
    500: '#985dc3',
    950: '#000000',
  },
}
SCSS
$custom: #985dc3;
$custom-light: #b98dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#985dc3",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 195
  },
  "hsl": {
    "h": 274.706,
    "s": 45.946,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58715,
    "c": 0.15952,
    "h": 309
  },
  "luminance": 0.18444
}

Semantic roles & 50–950 ramp

primary
#985DC3
secondary
#BBD3A9
accent
#D6528A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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