#985BC3#985BC3

#985BC3 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.163 H 309.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#985BC3
RGBrgb(152, 91, 195)
HSLhsl(275, 46%, 56%)
HSVhsv(275, 53%, 76%)
CMYKcmyk(22.1%, 53.3%, 0%, 23.5%)
CIE-LABlab(49.61, 43.98, -44.90)
CIE-LCHlch(49.61, 62.85, 314.40°)
OKLaboklab(58.41% 0.1031 -0.1259)
OKLCHoklch(58.41% 0.163 309.3)
XYZxyz(26.5384, 18.0981, 53.7144)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BC3 #86C35B
analogous
#645BC3 #985BC3 #C35BBA
triadic
#985BC3 #C3985B #5BC398
tetradic
#985BC3 #C3645B #86C35B #5BBAC3
square
#985BC3 #C3645B #86C35B #5BBAC3
split-complementary
#985BC3 #BAC35B #5BC364
monochromatic
#582C78 #793CA5 #985BC3 #B488D3 #D0B5E4

Accessibility & contrast

On white

4.55
#985BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#985BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BC3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BC3#FFFFFF#000000##000000
##985BC31.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D73C6
Deuteranopia (green-blind)
#5077C0
Tritanopia (blue-blind)
#926D86
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985bc3;
/* rgb */ color: rgb(152, 91, 195);
/* oklch */ color: oklch(58.4% 0.163 309.3);
Tailwind
colors: {
  custom: {
    50: '#b98bd6',
    500: '#985bc3',
    950: '#000000',
  },
}
SCSS
$custom: #985bc3;
$custom-light: #b98bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#985bc3",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 195
  },
  "hsl": {
    "h": 275.192,
    "s": 46.429,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.16272,
    "h": 309.3
  },
  "luminance": 0.18098
}

Semantic roles & 50–950 ramp

primary
#985BC3
secondary
#B9D2A7
accent
#D65288
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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