#985BC4#985BC4

#985BC4 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.5% C 0.164 H 309.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#985BC4
RGBrgb(152, 91, 196)
HSLhsl(275, 47%, 56%)
HSVhsv(275, 54%, 77%)
CMYKcmyk(22.4%, 53.6%, 0%, 23.1%)
CIE-LABlab(49.67, 44.21, -45.39)
CIE-LCHlch(49.67, 63.36, 314.24°)
OKLaboklab(58.47% 0.1032 -0.1273)
OKLCHoklch(58.47% 0.164 309)
XYZxyz(26.6519, 18.1435, 54.3119)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BC4 #87C45B
analogous
#645BC4 #985BC4 #C45BBC
triadic
#985BC4 #C4985B #5BC498
tetradic
#985BC4 #C4645B #87C45B #5BBCC4
square
#985BC4 #C4645B #87C45B #5BBCC4
split-complementary
#985BC4 #BCC45B #5BC464
monochromatic
#592C79 #7A3CA6 #985BC4 #B488D4 #D1B5E4

Accessibility & contrast

On white

4.54
#985BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#985BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985BC4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BC4#FFFFFF#000000##000000
##985BC41.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C73C8
Deuteranopia (green-blind)
#5077C1
Tritanopia (blue-blind)
#926D87
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985bc4;
/* rgb */ color: rgb(152, 91, 196);
/* oklch */ color: oklch(58.5% 0.164 309.0);
Tailwind
colors: {
  custom: {
    50: '#b98bd6',
    500: '#985bc4',
    950: '#000000',
  },
}
SCSS
$custom: #985bc4;
$custom-light: #b98bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#985bc4",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 274.857,
    "s": 47.085,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58466,
    "c": 0.16387,
    "h": 309
  },
  "luminance": 0.18143
}

Semantic roles & 50–950 ramp

primary
#985BC4
secondary
#BAD3A8
accent
#D75189
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #985BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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